readme.txt

来自「MIPS 虚存测试, 表明在裸机环境, 无OS,无LOADER时如何定位目标码,」· 文本 代码 · 共 9 行

TXT
9
字号
MIPS TLB test, chino mango, 20051114, tested
0. this routine is for MIPS 4KEc TLB test under verilog verification, it shows how to handle TLB or virtual memory w/o 
operating system, and shows how to define address space w/o loader. It runs on raw machine.
1. There are three code files: boot.s, mycrt0.s and init_tlb.c; there are two makefiles
2. boot.s starts in K1 flash rom, and simply jump to local RAM for further, faster execution, the boot make defines its entry
3. makefile defines other code in local ram space, including C code
4. C and ASM code check TLB via write into a unmapped physical address, and read back from virtual address via TLB,
and compare the value. if it is ok, write 0x400 else write 0x500

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?