diff options
Diffstat (limited to 'Include/Library/CommonLib.h')
-rw-r--r-- | Include/Library/CommonLib.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Include/Library/CommonLib.h b/Include/Library/CommonLib.h index 17b0c72..479c5c1 100644 --- a/Include/Library/CommonLib.h +++ b/Include/Library/CommonLib.h @@ -25,6 +25,14 @@ https://opensource.org/licenses/LGPL-3.0 #include <Uefi/UefiGpt.h>
//////////////////////////////////////////////////////////////////////////
+// Custom error codes
+//////////////////////////////////////////////////////////////////////////
+
+#define EFI_DCS_SHUTDOWN_REQUESTED ENCODE_ERROR(0xDC50001)
+#define EFI_DCS_REBOOT_REQUESTED ENCODE_ERROR(0xDC50002)
+#define EFI_DCS_HALT_REQUESTED ENCODE_ERROR(0xDC50003)
+
+//////////////////////////////////////////////////////////////////////////
// Check error
//////////////////////////////////////////////////////////////////////////
extern UINTN gCELine;
|