When will hart trap into S-mode? #1464
-
Currently, I'm reading the RISC-V Instruction Set Manual: Volume II (2024). I'm confused about how RISC-V handles traps. According to the content in § 3.1.8:
We can know that all traps will be handled in machine mode if the corresponding
The above descriptions confuse me a bit. Does a hart trap into S-mode only if the corresponding Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Interrupts can only become visible in sip if they have been delegated via mideleg. So, Sec. 10.1.3 is true, but doesn’t override any facts mentioned in the M-mode chapter. |
Beta Was this translation helpful? Give feedback.
Interrupts can only become visible in sip if they have been delegated via mideleg. So, Sec. 10.1.3 is true, but doesn’t override any facts mentioned in the M-mode chapter.