os/kernel/cpu/x86_64/halt.c

6 lines
74 B
C

void halt() {
asm volatile("cli;\
hltlabel: hlt;\
jmp hltlabel");
}