Data Structures | |
| struct | s_PXENV_FILE_EXIT_HOOK |
| Parameter block for pxenv_file_exit_hook(). More... | |
Defines | |
| #define | PXENV_FILE_EXIT_HOOK 0x00e7 |
| PXE API function code for pxenv_file_exit_hook(). | |
Typedefs | |
| typedef struct s_PXENV_FILE_EXIT_HOOK | PXENV_FILE_EXIT_HOOK_t |
Functions | |
| PXENV_EXIT_t | pxenv_file_exit_hook (struct s_PXENV_FILE_EXIT_HOOK *file_exit_hook) |
| FILE EXIT HOOK. | |
| #define PXENV_FILE_EXIT_HOOK 0x00e7 |
PXE API function code for pxenv_file_exit_hook().
Definition at line 1789 of file pxe_api.h.
Referenced by pxe_api_call().
| typedef struct s_PXENV_FILE_EXIT_HOOK PXENV_FILE_EXIT_HOOK_t |
| PXENV_EXIT_t pxenv_file_exit_hook | ( | struct s_PXENV_FILE_EXIT_HOOK * | file_exit_hook | ) |
FILE EXIT HOOK.
| file_exit_hook | Pointer to a struct s_PXENV_FILE_EXIT_HOOK | |
| s_PXENV_FILE_EXIT_HOOK::Hook | SEG16:OFF16 to jump to |
| PXENV_EXIT_SUCCESS | Successfully set hook | |
| PXENV_EXIT_FAILURE | We're not an NBP build | |
| s_PXENV_FILE_EXIT_HOOK::Status | PXE status code |
Definition at line 289 of file pxe_file.c.
References DBG, s_PXENV_FILE_EXIT_HOOK::Hook, s_SEGOFF16::offset, pxe_exit_hook, PXENV_EXIT_FAILURE, PXENV_EXIT_SUCCESS, PXENV_STATUS_SUCCESS, PXENV_STATUS_UNSUPPORTED, s_SEGOFF16::segment, and s_PXENV_FILE_EXIT_HOOK::Status.
Referenced by pxe_api_call().
00290 { 00291 DBG ( "PXENV_FILE_EXIT_HOOK" ); 00292 00293 /* Check to see if we have a PXE exit hook */ 00294 if ( pxe_exit_hook.segment | pxe_exit_hook.offset ) { 00295 /* We'll jump to the specified SEG16:OFF16 during exit */ 00296 pxe_exit_hook.segment = file_exit_hook->Hook.segment; 00297 pxe_exit_hook.offset = file_exit_hook->Hook.offset; 00298 file_exit_hook->Status = PXENV_STATUS_SUCCESS; 00299 return PXENV_EXIT_SUCCESS; 00300 } 00301 00302 DBG ( " not NBP" ); 00303 file_exit_hook->Status = PXENV_STATUS_UNSUPPORTED; 00304 return PXENV_EXIT_FAILURE; 00305 }
1.5.7.1