MipsTlbTest
MIPS 

所属分类:驱动编程
开发工具:Windows_Unix
文件大小:6KB
下载次数:25
上传日期:2005-11-18 02:03:38
上 传 者chinomango
说明:  MIPS 虚存测试, 表明在裸机环境, 无OS,无LOADER时如何定位目标码,将虚存与相应的物理单元做比较.原创.
(MIPS Virtual Memory tests show the bare metal, no OS, without LOADER how to target code, virtual memory and the corresponding physical cell comparison. Originality.)

文件列表:
makefile (784, 2005-11-15)
mycrt0.S (5750, 2005-11-17)
init_tlb.c (1659, 2005-11-17)
boot.S (256, 2005-11-17)
dump.txt (8168, 2005-11-16)
make_boot (639, 2005-11-15)

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

近期下载者

相关文件


收藏者