-
Notifications
You must be signed in to change notification settings - Fork 93
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
Interrupt behaviour in debug mode #1090
Comments
The program buffer only executes as part of an abstract command:
In fact, executing the program buffer is the only way to architecturally execute code in Debug Mode. (Many implementations choose to execute code to communicate with the DM, to perform abstract commands besides the program buffer, etc. However, this is should be done in a way that is indistinguishable from implementing hardware state machines and wires to/from DM.)
You're right. That looks like a latex->asciidoc conversion problem. I created #1091.
I believe that the debug spec uses "disabled" in the same sense that the privileged spec uses enabled/disabled when describing interrupts. A hart in debug mode couldn't possibly reach out to an interrupt controller to lower a pending interrupt. That's normally done by a software handler and it involves more than just writing to some hart-local state. (Even clearing the eip bit in a local IMSIC would leave the interrupt pending at the source.) |
Fix asciidoc conversion problem for #1090.
My understanding of the intent of the specification is that:
The spec is not 100% clear / correct:
stepie
The text was updated successfully, but these errors were encountered: