Replies: 1 comment 1 reply
-
Sure. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
RISC-V privileged arch spec defines the
mcause
register to hold the exception code. To be more future-compatible, the value inGPC_CR_THREAD<i>_EXCEPTION_CODE
in case of an exception should be a standard-defined exception cause (see table 3.6 in section 3.1.16 of the privileged instruction spec). For example, illegal instruction is code 2 and mistaligned load is 4Beta Was this translation helpful? Give feedback.
All reactions