summaryrefslogtreecommitdiff
path: root/src/arch/i386
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2016-02-18 16:36:04 +0000
committerMichael Brown <mcb30@ipxe.org>2016-02-18 17:12:16 +0000
commit196f0f2551a4f82d2968c6e3a50aaa54a45ec779 (patch)
treea253528f9e3c0851e348f7f57f0241bb3450fa4a /src/arch/i386
parentdf2509db9587ee0d93cdab84496cbc468db6da08 (diff)
downloadqemu-ipxe-196f0f2551a4f82d2968c6e3a50aaa54a45ec779.tar.gz
[librm] Convert prot_call() to a real-mode near call
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386')
-rw-r--r--src/arch/i386/interface/syslinux/comboot_call.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/arch/i386/interface/syslinux/comboot_call.c b/src/arch/i386/interface/syslinux/comboot_call.c
index 37cba1b7..277ec447 100644
--- a/src/arch/i386/interface/syslinux/comboot_call.c
+++ b/src/arch/i386/interface/syslinux/comboot_call.c
@@ -661,7 +661,6 @@ void hook_comboot_interrupts ( ) {
__asm__ __volatile__ (
TEXT16_CODE ( "\nint20_wrapper:\n\t"
"pushl %0\n\t"
- "pushw %%cs\n\t"
"call prot_call\n\t"
"clc\n\t"
"call patch_cf\n\t"
@@ -673,7 +672,6 @@ void hook_comboot_interrupts ( ) {
__asm__ __volatile__ (
TEXT16_CODE ( "\nint21_wrapper:\n\t"
"pushl %0\n\t"
- "pushw %%cs\n\t"
"call prot_call\n\t"
"clc\n\t"
"call patch_cf\n\t"
@@ -685,7 +683,6 @@ void hook_comboot_interrupts ( ) {
__asm__ __volatile__ (
TEXT16_CODE ( "\nint22_wrapper:\n\t"
"pushl %0\n\t"
- "pushw %%cs\n\t"
"call prot_call\n\t"
"clc\n\t"
"call patch_cf\n\t"