Module interrupts

Source
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.