os/kernel/cpu/i386/halt.c

6 lines
74 B
C
Raw Normal View History

2019-02-09 12:52:45 -06:00
void halt() {
asm volatile("cli;\
hltlabel: hlt;\
jmp hltlabel");
}