Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

restore_cpu_interrupts

Function restore_cpu_interrupts 

Source
pub unsafe fn restore_cpu_interrupts(was_enabled: bool)
Expand description

Put back the interrupt-enable bit disable_cpu_interrupts found.

§Safety

was_enabled must be the result of the matching disable_cpu_interrupts, and every section entered after it must already have ended.