Function riscv::interrupt::enable

source ·
pub unsafe fn enable()
Expand description

Enables all the interrupts in the current hart.

§Safety

  • Do not call this function inside a critical section.