Пример #1
0
void platform_halt(void)
{
    for (;;) {
        x86_cli();
        x86_hlt();
    }
}
Пример #2
0
static void exception_die(struct x86_iframe *frame, const char *msg)
{
	dprintf(CRITICAL, msg);
	dump_fault_frame(frame);

	for (;;) {
		x86_cli();
		x86_hlt();
	}
}