strreplace: clean up and simplify
[profile/ivi/syslinux.git] / core / kaboom.c
1 /*
2  * kaboom.c
3  */
4
5 #include "core.h"
6
7 #undef kaboom
8
9 __noreturn _kaboom(void)
10 {
11     extern void kaboom(void);
12     call16(kaboom, &zero_regs, NULL);
13     /* Do this if kaboom somehow returns... */
14     for (;;)
15         asm volatile("hlt");
16 }