[librm] Provide an abstraction wrapper for prot_call
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user