[librm] Provide an abstraction wrapper for prot_call

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2016-02-18 23:23:38 +00:00
parent 196f0f2551
commit 31b5c2e753
20 changed files with 77 additions and 60 deletions

View File

@@ -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