[syslinux:pathbased] core: add hlt to infinite loop

syslinux-bot for H. Peter Anvin hpa at linux.intel.com
Mon Jun 14 15:45:03 PDT 2010


Commit-ID:  29f9390d8e278d31d39a60c8e37febea2c9e8454
Gitweb:     http://syslinux.zytor.com/commit/29f9390d8e278d31d39a60c8e37febea2c9e8454
Author:     H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Mon, 14 Jun 2010 15:43:40 -0700
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Mon, 14 Jun 2010 15:43:40 -0700

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 at linux.intel.com>


---
 core/diskstart.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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
 
 ;
 ;



More information about the Syslinux-commits mailing list