axhal::arch

Function wait_for_irqs

Source
pub fn wait_for_irqs()
Expand description

Relaxes the current CPU and waits for interrupts.

It must be called with interrupts enabled, otherwise it will never return.