diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/pxe.h | 1 | ||||
| -rw-r--r-- | src/include/pxe_api.h | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/src/include/pxe.h b/src/include/pxe.h index f17d8f770..8b3ca14c4 100644 --- a/src/include/pxe.h +++ b/src/include/pxe.h @@ -63,6 +63,7 @@ union u_PXENV_ANY { struct s_PXENV_FILE_SELECT file_select; struct s_PXENV_FILE_READ file_read; struct s_PXENV_GET_FILE_SIZE get_file_size; + struct s_PXENV_FILE_EXEC file_exec; }; typedef union u_PXENV_ANY PXENV_ANY_t; diff --git a/src/include/pxe_api.h b/src/include/pxe_api.h index 8dc1607a8..53708ed4f 100644 --- a/src/include/pxe_api.h +++ b/src/include/pxe_api.h @@ -1684,6 +1684,28 @@ extern PXENV_EXIT_t pxenv_get_file_size ( struct s_PXENV_GET_FILE_SIZE /** @} */ /* pxenv_get_file_size */ +/** @defgroup pxenv_file_exec PXENV_FILE_EXEC + * + * FILE EXEC + * + * @{ + */ + +/** PXE API function code for pxenv_file_exec() */ +#define PXENV_FILE_EXEC 0x00e5 + +/** Parameter block for pxenv_file_exec() */ +struct s_PXENV_FILE_EXEC { + PXENV_STATUS_t Status; /**< PXE status code */ + SEGOFF16_t Command; /**< Command to execute */ +} PACKED; + +typedef struct s_PXENV_FILE_EXEC PXENV_FILE_EXEC_t; + +extern PXENV_EXIT_t pxenv_file_exec ( struct s_PXENV_FILE_EXEC *file_exec ); + +/** @} */ /* pxenv_file_exec */ + /** @} */ /* pxe_file_api */ /** @defgroup pxe_loader_api PXE Loader API |
