[][src]Function hermit::x86_64::kernel::irq::nested_disable

pub fn nested_disable() -> bool

Disable IRQs (nested)

Disable IRQs when unsure if IRQs were enabled at all. This function together with nested_enable can be used in situations when interrupts shouldn't be activated if they were not activated before calling this function.