projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abd0e0b
)
In kaboom, use standard macro for resetting the stack where applicable
author
H. Peter Anvin
<hpa@zytor.com>
Tue, 22 Aug 2006 00:28:43 +0000
(17:28 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Tue, 22 Aug 2006 00:28:43 +0000
(17:28 -0700)
isolinux.asm
patch
|
blob
|
history
pxelinux.asm
patch
|
blob
|
history
diff --git
a/isolinux.asm
b/isolinux.asm
index
acf7806
..
80fddc1
100644
(file)
--- a/
isolinux.asm
+++ b/
isolinux.asm
@@
-755,13
+755,7
@@
xint13: mov byte [RetryCount],retry_count
; then do a hard reboot.
;
kaboom:
- lss sp,[cs:StackPtr]
- mov ax,cs
- mov ds,ax
- mov es,ax
- mov fs,ax
- mov gs,ax
- sti
+ RESET_STACK_AND SEGS AX
mov si,err_bootfailed
call cwritestr
call getchar
diff --git
a/pxelinux.asm
b/pxelinux.asm
index
5809a47
..
c49db37
100644
(file)
--- a/
pxelinux.asm
+++ b/
pxelinux.asm
@@
-924,11
+924,7
@@
local_boot:
; or a user keypress, then do a hard reboot.
;
kaboom:
- mov ax,cs
- mov es,ax
- mov ds,ax
- lss esp,[BaseStack]
- sti
+ RESET_STACK_AND_SEGS AX
.patch: mov si,bailmsg
call writestr ; Returns with AL = 0
.drain: call pollchar