Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SailBugfix: Modifies only mie in write Sie when the interrupt is dele…
…gated Before modifying each specific interrupt enable bit (e.g., SEIE, STIE, or SSIE), the code checks whether the corresponding bit in Mideleg is set. Mideleg determines whether a specific interrupt is delegated to the supervisor level, so this ensures that only interrupts managed by the supervisor are updated.
- Loading branch information