diff options
| author | Michael Brown | 2006-03-16 19:30:54 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-03-16 19:30:54 +0100 |
| commit | 7e0a7a2e08cd9dcb65fd60d3c525eb3b9e827896 (patch) | |
| tree | 1a7fac39614a0d021824d0283c37e04f87b3a9d1 /src/arch | |
| parent | Merge from Etherboot 5.4 (diff) | |
| parent | Import from Etherboot 5.4 (diff) | |
| download | ipxe-7e0a7a2e08cd9dcb65fd60d3c525eb3b9e827896.tar.gz ipxe-7e0a7a2e08cd9dcb65fd60d3c525eb3b9e827896.tar.xz ipxe-7e0a7a2e08cd9dcb65fd60d3c525eb3b9e827896.zip | |
Merge from Etherboot 5.4
Diffstat (limited to 'src/arch')
| -rw-r--r-- | src/arch/i386/core/start32.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/i386/core/start32.S b/src/arch/i386/core/start32.S index 4848b15c8..37ef5eb9c 100644 --- 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 |
