We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mstatus different at pc = 0x00800005f4, right= 0x0000000000000088, wrong = 0x0000000000001888
执行mret指令时,在我们的实现里始终保持在machine mode,但是difftest给出的默认实现是返回到user mode(见mstatus中的mpp field),需要在difftest中修改源码吗?具体是在哪里修改?
(QQ群中有人提出类似问题但是聊天记录中没有具体回答)
The text was updated successfully, but these errors were encountered:
我自己的solution:需要修改NEMU源码,在src/isa/riscv64/system/priv.c:179,把MODE_U改成MODE_M即可。
Sorry, something went wrong.
No branches or pull requests
mstatus different at pc = 0x00800005f4, right= 0x0000000000000088, wrong = 0x0000000000001888
执行mret指令时,在我们的实现里始终保持在machine mode,但是difftest给出的默认实现是返回到user mode(见mstatus中的mpp field),需要在difftest中修改源码吗?具体是在哪里修改?
(QQ群中有人提出类似问题但是聊天记录中没有具体回答)
The text was updated successfully, but these errors were encountered: