summaryrefslogtreecommitdiff
path: root/core/kaboom.c
blob: d639915a6bf96b51aa03b59309d0017bc3e48850 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * kaboom.c
 */

#include "core.h"

#undef kaboom

__noreturn _kaboom(void)
{
    extern void kaboom(void);
    call16(kaboom, &zero_regs, NULL);
    /* Do this if kaboom somehow returns... */
    for (;;)
	asm volatile("hlt");
}