Expand description
Enabling and disabling interrupts
Functions§
- are_
enabled - Returns whether interrupts are enabled.
- disable
- Disable interrupts.
- enable
- Enable interrupts.
- enable_
and_ hlt - Atomically enable interrupts and put the CPU to sleep
- int3
- Cause a breakpoint exception by invoking the
int3
instruction. - software_
interrupt ⚠ - Generate a software interrupt by invoking the
int
instruction. - without_
interrupts - Run a closure with disabled interrupts.