diff options
| author | Michael Brown | 2016-02-17 00:16:49 +0100 |
|---|---|---|
| committer | Michael Brown | 2016-02-17 00:16:49 +0100 |
| commit | 9dc340d73538ecac72851407b4865e2a778589f8 (patch) | |
| tree | ee9cd35ca98f6da05cfe33b9a3cc8821ae5eb5bd /src/arch/x86/interface | |
| parent | [bios] Add bin-x86_64-pcbios build platform (diff) | |
| download | ipxe-9dc340d73538ecac72851407b4865e2a778589f8.tar.gz ipxe-9dc340d73538ecac72851407b4865e2a778589f8.tar.xz ipxe-9dc340d73538ecac72851407b4865e2a778589f8.zip | |
[librm] Discard argument as part of return from prot_call()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86/interface')
| -rw-r--r-- | src/arch/x86/interface/pcbios/bios_console.c | 1 | ||||
| -rw-r--r-- | src/arch/x86/interface/pxe/pxe_entry.S | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/arch/x86/interface/pcbios/bios_console.c b/src/arch/x86/interface/pcbios/bios_console.c index cfffd9542..364c294da 100644 --- a/src/arch/x86/interface/pcbios/bios_console.c +++ b/src/arch/x86/interface/pcbios/bios_console.c @@ -536,7 +536,6 @@ static void bios_inject_startup ( void ) { "pushl %0\n\t" "pushw %%cs\n\t" "call prot_call\n\t" - "addw $4, %%sp\n\t" "\n1:\n\t" "popfw\n\t" "ljmp *%%cs:int16_vector\n\t" ) diff --git a/src/arch/x86/interface/pxe/pxe_entry.S b/src/arch/x86/interface/pxe/pxe_entry.S index 07852cd50..84eba1e06 100644 --- a/src/arch/x86/interface/pxe/pxe_entry.S +++ b/src/arch/x86/interface/pxe/pxe_entry.S @@ -123,7 +123,6 @@ pxenv_entry: pushl $pxe_api_call pushw %cs call prot_call - addl $4, %esp lret .size pxenv_entry, . - pxenv_entry |
