[][src]Function x86::halt

pub unsafe fn halt()

Stops instruction execution and places the processor in a HALT state.

An enabled interrupt (including NMI and SMI), a debug exception, the BINIT# signal, the INIT# signal, or the RESET# signal will resume execution. If an interrupt (including NMI) is used to resume execution after a HLT instruction, the saved instruction pointer (CS:EIP) points to the instruction following the HLT instruction.

Unsafe

Will cause a general protection fault if used outside of ring 0.