Visible to Intel only — GUID: unm1734330640918
Ixiasoft
Visible to Intel only — GUID: unm1734330640918
Ixiasoft
4.3.10.1.1. Machine Status Register (mstatus)
The fourth bit field of the status register (mstatus[3]) holds the global interrupt enable bit, MIE. This bit is commonly used to guarantee atomicity regarding interrupt handlers at the current privilege mode.
When a hart is executing, all interrupts are globally,
- Enabled when MIE=1, and
- Disabled when MIE=0.
An MRET instruction is used to return from a trap in M-mode.