rustubs::arch::x86_64::interrupt

Function irq_restore

Source
pub fn irq_restore(was_enabled: bool)
Expand description

irq_restore only re-enable irq if was_enabled==true. it will not disable irq regardless the was_enabled value. This function should only be called to restore irq based on previous irq_save();