summaryrefslogtreecommitdiffstats
path: root/src/arch/x86/interface/pxe
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/interface/pxe')
-rw-r--r--src/arch/x86/interface/pxe/pxe_entry.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/x86/interface/pxe/pxe_entry.S b/src/arch/x86/interface/pxe/pxe_entry.S
index 2ce1ced2b..663aa842e 100644
--- a/src/arch/x86/interface/pxe/pxe_entry.S
+++ b/src/arch/x86/interface/pxe/pxe_entry.S
@@ -24,6 +24,8 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
+#include <librm.h>
+
.arch i386
/****************************************************************************
@@ -120,8 +122,7 @@ pxenv_null_entry:
.section ".text16", "ax", @progbits
.code16
pxenv_entry:
- pushl $pxe_api_call
- call prot_call
+ virtcall pxe_api_call
lret
.size pxenv_entry, . - pxenv_entry