Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于生成的checkpoint文件的一些疑惑 #297

Open
Haceker1166 opened this issue Apr 8, 2024 · 0 comments
Open

关于生成的checkpoint文件的一些疑惑 #297

Haceker1166 opened this issue Apr 8, 2024 · 0 comments

Comments

@Haceker1166
Copy link

Haceker1166 commented Apr 8, 2024

你好,我在研究NEMU的代码时发现,生成checkpoint时,写入到gz文件的信息只有:恢复寄存器的信息的bin--gcpt.bin、boot识别头--0xbeef、CPU mode、CLINT_MMIO + 0xBFF8、CLINT_MMIO + 0x4000、int寄存器、float寄存器、PC、CSR寄存器,除此之外利用该gz文件进行恢复的时候不需要内存信息吗(比如堆栈、代码段等)?

---增加问题具体描述----
其实是想询问一下,内存信息中的堆栈具体是放在0x800000地址的哪个地方?然后代码段是不是已经在nemu load_image的时候放在0x8000000的a0000偏移的地址处了?
希望能够解答一下,谢谢!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant