http://git.etherboot.org
/
people
/
xl0
/
gpxe-arm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge from Etherboot 5.4
[people/xl0/gpxe-arm.git]
/
src
/
arch
/
i386
/
core
/
start32.S
diff --git
a/src/arch/i386/core/start32.S
b/src/arch/i386/core/start32.S
index
4848b15
..
37ef5eb
100644
(file)
--- a/
src/arch/i386/core/start32.S
+++ b/
src/arch/i386/core/start32.S
@@
-116,8
+116,9
@@
os_regs_ptr:
movl %esp, %ebp
subl $os_regs, %ebp
- /* Load the stack pointer */
+ /* Load the stack pointer
and convert it to physical address
*/
movl 52(%esp), %esp
+ addl %ebp, %esp
/* Enable the virtual addresses */
leal _phys_to_virt(%ebp), %eax