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

gdb don't have CSR_MNSTATUS #594

Open
quantrpeter opened this issue Nov 13, 2024 · 0 comments
Open

gdb don't have CSR_MNSTATUS #594

quantrpeter opened this issue Nov 13, 2024 · 0 comments

Comments

@quantrpeter
Copy link

Hi
In rv64ui-p-addi, it has insturction "csrwi CSR_MNSTATUS, MNSTATUS_NMIE", which is "csrwi 0x744,8". When my qemu-system-riscv64 execute it, it got exception with mcause = 2 (illegal instruction). Is it normal behavior?

image

thanks
Peter

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