mirror of
https://github.com/ipxe/ipxe
synced 2025-12-10 13:32:20 +03:00
Allow construction of PXE status code from internal error number.
This commit is contained in:
@@ -51,6 +51,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/** Derive PXENV_STATUS code from gPXE error number */
|
||||
#define PXENV_STATUS( rc ) ( (-(rc)) & 0x00ff )
|
||||
|
||||
/**
|
||||
* @defgroup pxeerrors PXE error codes
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user