nju-mips / nemu-mips32 Goto Github PK
View Code? Open in Web Editor NEWAn emulator to run mips executable and to differentially validate noop.
An emulator to run mips executable and to differentially validate noop.
您的仓库给了我很大的帮助,做为Linux的初学者,我没有弄清楚您nju-mips/minilab(run-linux分支)/M2/binary/下的vmlinux怎么编译出来的呢?
Can you post an example of how to compile an elf binary for this? I'm trying the MIPS GCC toolchain but I can't get the emulator to run it.
I'm learning mips by this perfect nemu-mips32. But I encounter a question when reading codes.
The function prot_addr_with_attr
in include/cpu/memory.h::62
, as I think, is a function that produces physical address (i.e. pa) from virtual address (i.e. va) and changes machine states (for example, there is exception raised).
The question is, in my opinoin, paddr=page_translate(addr, attr)
is the pa. But prot_addr_with_attr
returns ioremap(paddr)
, which is paddr & 0x1FFFFFFF
.
I wanna why here it needs ioremap
. Since PABITS
is 32 not 29, shouldn't we just use full 32 bits of paddr
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.