diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2010-06-14 15:43:40 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-06-14 15:43:40 -0700 |
commit | 29f9390d8e278d31d39a60c8e37febea2c9e8454 (patch) | |
tree | d13c9bab5c6c72b5551056ec0480aaea5edcb6bf | |
parent | 441798c66ea1b7d065d819c1af6a8c799d38036e (diff) | |
download | syslinux-29f9390d8e278d31d39a60c8e37febea2c9e8454.tar.gz |
core: add hlt to infinite loop
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>
-rw-r--r-- | core/diskstart.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/diskstart.inc b/core/diskstart.inc index b4086c5b..e9254655 100644 --- a/core/diskstart.inc +++ b/core/diskstart.inc @@ -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 ; ; |