-
Notifications
You must be signed in to change notification settings - Fork 1.4k
aarch64: add exception syndrome (ESR) pseudo-register #841
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
base: master
Are you sure you want to change the base?
aarch64: add exception syndrome (ESR) pseudo-register #841
Conversation
This is not a real register, so it is confused. I rather having a new API to read/write CPU context. |
Is that the sort of thing |
but "query" is not supposed to write/change context, right?
|
the exception syndrome shouldn't be set by anything other than the emulator when it encounters an exception, which is why I didn't implement reg_write for it |
Unless you're emulating something with more privileges and exception handlers I guess, but then you'd want to set the exception syndrome for a specific exception level (ESR_EL1, ESR_EL2, and ESR_EL3), and those are real registers (in the I don't have a way of telling what exception level an exception gets taken to though, so I wouldn't know which of those specific registers to read which is what I wanted a more general exception syndrome pseudo-register for. |
Any update on this? |
Closed due to inactivity. |
But still link this to #1449 if I have more time or some one could assist me. |
This is far beyond my ability. unicorn-engine/unicorn#841
Closes #838