Re: Question about supervisor interrupt in M mode
How can I search on previous Summit proceedings for this pseudocode equation for “enabled”?
---- Replied Message ----
Yep, think of mti as first timer interrupt and sti as second timer interrupt.
A pseudocode equation for “enabled” in the spec would make this easier. I think if you search on previous Summit proceedings, there was a presentation a long time ago that showed the equations.
From: tech-privileged@... <tech-privileged@...> On Behalf Of Scott Johnson via lists.riscv.org
Sent: Tuesday, November 29, 2022 10:05 AM
Subject: [EXT] Re: [RISC-V] [tech-privileged] Question about supervisor interrupt in M mode
Caution: EXT Email
Oscar, what you are missing is that STI, despite its name, is not for a lower-privilege mode when mideleg==0. In that case the STI is destined for M-mode and therefore can be taken in any privilege mode.