Function hal_x86_64::cpu::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.