From 29f9390d8e278d31d39a60c8e37febea2c9e8454 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 14 Jun 2010 15:43:40 -0700 Subject: [PATCH] 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 --- core/diskstart.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/diskstart.inc b/core/diskstart.inc index b4086c5..e925465 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 ; ; -- 2.7.4