hal_x86_64::cpu

Function halt

Source
pub fn halt() -> !
Expand description

Halt the CPU.

This disables interrupts and performs the hlt instruction in a loop, forever.

ยงNotes

This halts the CPU.