diff options
Diffstat (limited to 'platform/boot.s')
-rw-r--r-- | platform/boot.s | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/platform/boot.s b/platform/boot.s index 6052347..c2a06c3 100644 --- a/platform/boot.s +++ b/platform/boot.s @@ -27,7 +27,10 @@ _start: mov $stack_top, %esp call kmain - cli /* disable interrupts */ +.global halt_cpu +.type halt_cpu, @function +halt_cpu: + cli 1: hlt jmp 1b |