Luna/kernel/src/panic/hang.cpp

14 lines
138 B
C++
Raw Normal View History

2022-09-05 14:13:51 +00:00
#include "panic/hang.h"
void hang()
{
asm volatile("cli");
end:
halt();
goto end;
}
void halt()
{
asm volatile("hlt");
}