Re: MPIE and MPP update when returning from interrupt with MRET
toggle quoted message Show quoted text
privilege transitions from levels other than U to a handler at levels other than M are certainly possible.
*DELEG,*IE amd *EXCEPT will enable exception handler entry to non-M privilege moss handler and set the callera privilege level
in the *PP field to q non-U mode which calls the non-M mode handler.
Please provide the spec name, version, chapter, page, paragraph and sentence so an editor can consider details to clarify the reference.
for me, the more problematic
issue was there was no psr
to identify the privilege of the
caller. technically however it is implicit and it’s assumed the code knows the privilege it was written for. it’s ok once you get used to the convention.
On Dec 15, 2020, at 7:18 AM, Anne MERLANDE via lists.riscv.org <anne.merlande=st.com@...> wrote: