mirror of https://github.com/ipxe/ipxe.git
Allow construction of PXE status code from internal error number.
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
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue