summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/interface/syslinux
diff options
context:
space:
mode:
authorMichael Brown2016-02-17 00:16:49 +0100
committerMichael Brown2016-02-17 00:16:49 +0100
commit9dc340d73538ecac72851407b4865e2a778589f8 (patch)
treeee9cd35ca98f6da05cfe33b9a3cc8821ae5eb5bd /src/arch/i386/interface/syslinux
parent[bios] Add bin-x86_64-pcbios build platform (diff)
downloadipxe-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/i386/interface/syslinux')
-rw-r--r--src/arch/i386/interface/syslinux/comboot_call.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/i386/interface/syslinux/comboot_call.c b/src/arch/i386/interface/syslinux/comboot_call.c
index 22848006c..37cba1b77 100644
--- a/src/arch/i386/interface/syslinux/comboot_call.c
+++ b/src/arch/i386/interface/syslinux/comboot_call.c
@@ -663,7 +663,7 @@ void hook_comboot_interrupts ( ) {
"pushl %0\n\t"
"pushw %%cs\n\t"
"call prot_call\n\t"
- "addw $4, %%sp\n\t"
+ "clc\n\t"
"call patch_cf\n\t"
"iret\n\t" )
: : "i" ( int20 ) );
@@ -675,7 +675,7 @@ void hook_comboot_interrupts ( ) {
"pushl %0\n\t"
"pushw %%cs\n\t"
"call prot_call\n\t"
- "addw $4, %%sp\n\t"
+ "clc\n\t"
"call patch_cf\n\t"
"iret\n\t" )
: : "i" ( int21 ) );
@@ -687,7 +687,7 @@ void hook_comboot_interrupts ( ) {
"pushl %0\n\t"
"pushw %%cs\n\t"
"call prot_call\n\t"
- "addw $4, %%sp\n\t"
+ "clc\n\t"
"call patch_cf\n\t"
"iret\n\t" )
: : "i" ( int22) );