os/cpu/i386/halt.c

6 lines
74 B
C

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