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"); }