|
Revision 8abec8d70f99c890beb281ec3f2669990345bcf1, 233 bytes
(checked in by H. Peter Anvin <hpa@…>, 3 years ago)
|
|
core: kaboom.c: file missing from previous checkin
kaboom.c; necessary file missing from previous checkin.
Signed-off-by: H. Peter Anvin <hpa@…>
|
-
Property mode set to
100644
|
| Line | |
|---|
| 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 | } |
|---|