From d62e89d776095767d075a75ceffc884ed267f685 Mon Sep 17 00:00:00 2001 From: H. Peter Anvin Date: Wed, 26 Mar 2008 15:10:56 -0700 Subject: [PXEXT] Add FILE_API_CHECK API function Add FILE_API_CHECK to the PXEXT API so the NBP can query the availability and status of the API. --- src/arch/i386/interface/pxe/pxe_call.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/arch') diff --git a/src/arch/i386/interface/pxe/pxe_call.c b/src/arch/i386/interface/pxe/pxe_call.c index b9c21ce55..5b307d409 100644 --- a/src/arch/i386/interface/pxe/pxe_call.c +++ b/src/arch/i386/interface/pxe/pxe_call.c @@ -97,6 +97,7 @@ union pxenv_call { PXENV_EXIT_t ( * file_read ) ( struct s_PXENV_FILE_READ * ); PXENV_EXIT_t ( * get_file_size ) ( struct s_PXENV_GET_FILE_SIZE * ); PXENV_EXIT_t ( * file_exec ) ( struct s_PXENV_FILE_EXEC * ); + PXENV_EXIT_t ( * file_api_check ) ( struct s_PXENV_FILE_API_CHECK * ); }; /** @@ -299,6 +300,10 @@ __cdecl void pxe_api_call ( struct i386_all_regs *ix86 ) { pxenv_call.file_exec = pxenv_file_exec; param_len = sizeof ( pxenv_any.file_exec ); break; + case PXENV_FILE_API_CHECK: + pxenv_call.file_api_check = pxenv_file_api_check; + param_len = sizeof ( pxenv_any.file_api_check ); + break; default: DBG ( "PXENV_UNKNOWN_%hx", opcode ); pxenv_call.unknown = pxenv_unknown; -- cgit v1.2.3-55-g7522