aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/x86/prefix/exeprefix.S
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2016-02-18 23:23:38 +0000
committerMichael Brown <mcb30@ipxe.org>2016-02-18 23:23:38 +0000
commit31b5c2e753dbcb3d5023bccc8e644d0bcb56b2ad (patch)
tree536967f3f34fba94970a31cbde3fe1d2cf657cce /src/arch/x86/prefix/exeprefix.S
parent196f0f2551a4f82d2968c6e3a50aaa54a45ec779 (diff)
downloadipxe-31b5c2e753dbcb3d5023bccc8e644d0bcb56b2ad.tar.gz
[librm] Provide an abstraction wrapper for prot_call
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86/prefix/exeprefix.S')
-rw-r--r--src/arch/x86/prefix/exeprefix.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/x86/prefix/exeprefix.S b/src/arch/x86/prefix/exeprefix.S
index 9598122bc..c351456e2 100644
--- a/src/arch/x86/prefix/exeprefix.S
+++ b/src/arch/x86/prefix/exeprefix.S
@@ -24,6 +24,8 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
+#include <librm.h>
+
/* Initial temporary stack size */
#define EXE_STACK_SIZE 0x400
@@ -148,8 +150,7 @@ _exe_start:
movl %esi, cmdline_phys
/* Run iPXE */
- pushl $main
- call prot_call
+ virtcall main
/* Uninstall iPXE */
call uninstall