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:
b97e75c
)
pxelinux: Save/set up/restore ES around init.inc
author
H. Peter Anvin
<hpa@zytor.com>
Thu, 31 May 2007 19:01:15 +0000
(12:01 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Thu, 31 May 2007 19:01:15 +0000
(12:01 -0700)
At this point, ES points to the PXE entry structure, but init.inc
assumes ES == DS.
pxelinux.asm
patch
|
blob
|
history
diff --git
a/pxelinux.asm
b/pxelinux.asm
index
8056796
..
a5402c7
100644
(file)
--- a/
pxelinux.asm
+++ b/
pxelinux.asm
@@
-308,8
+308,11
@@
_start1:
;
; Initialize screen (if we're using one)
;
+ push es ; Save ES -> PXE entry structure
+ push ds
+ pop es ; ES <- DS
%include "init.inc"
-
+ pop es ; Restore ES -> PXE entry structure
;
; Tell the user we got this far
;