Allow construction of PXE status code from internal error number.

pull/1/head
Michael Brown 2007-05-18 14:17:35 +00:00
parent 59e738d756
commit 6b6fc1d5ea
1 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,9 @@
*
*/
/** Derive PXENV_STATUS code from gPXE error number */
#define PXENV_STATUS( rc ) ( (-(rc)) & 0x00ff )
/**
* @defgroup pxeerrors PXE error codes
*