We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2adf55 commit d9f2ee1Copy full SHA for d9f2ee1
riscv/src/interrupt.rs
@@ -142,6 +142,7 @@ pub mod supervisor {
142
}
143
144
/// Execute closure `f` with interrupts enabled in the current hart (supervisor mode).
145
+ ///
146
/// This method is assumed to be called within an interrupt handler, and allows
147
/// nested interrupts to occur. After the closure `f` is executed, the [`sstatus`]
148
/// and [`sepc`] registers are properly restored to their previous values.
0 commit comments