Allow construction of PXE status code from internal error number.
This commit is contained in:
parent
59e738d756
commit
6b6fc1d5ea
@ -51,6 +51,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/** Derive PXENV_STATUS code from gPXE error number */
|
||||||
|
#define PXENV_STATUS( rc ) ( (-(rc)) & 0x00ff )
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup pxeerrors PXE error codes
|
* @defgroup pxeerrors PXE error codes
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user