core: add hlt to infinite loop
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 14 Jun 2010 22:43:40 +0000 (15:43 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 14 Jun 2010 22:43:40 +0000 (15:43 -0700)
We should never hit it, but if we do, don't burn the CPU to a crisp.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
core/diskstart.inc

index b4086c5..e925465 100644 (file)
@@ -367,7 +367,8 @@ kaboom:
                                        ; NB: replaced by int 18h if
                                        ; chosen at install time..
                int 19h                 ; And try once more to boot...
-.norge:                jmp short .norge        ; If int 19h returned; this is the end
+.norge:                hlt                     ; If int 19h returned; this is the end
+               jmp short .norge
 
 ;
 ;