]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OldMdePkg/Include/Uefi/UefiSpec.h
Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
[mirror_edk2.git] / OldMdePkg / Include / Uefi / UefiSpec.h
index 15b3ac22d2a5ad7b9833dc96294afc20f932d388..ee1a23a091d65e93312e5b3bda47b634c7af74dd 100644 (file)
@@ -341,15 +341,22 @@ EFI_STATUS
 //\r
 // EFI Event Types (name defined in spec)\r
 //\r
-#define EVENT_TIMER                             0x80000000\r
-#define EVENT_RUNTIME                           0x40000000\r
-#define EVENT_RUNTIME_CONTEXT                   0x20000000\r
+#define EVT_TIMER                               0x80000000\r
+#define EVT_RUNTIME                             0x40000000\r
+\r
+#define EVT_NOTIFY_WAIT                         0x00000100\r
+#define EVT_NOTIFY_SIGNAL                       0x00000200\r
+#define EVT_SIGNAL_EXIT_BOOT_SERVICES           0x00000201\r
+#define EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE       0x60000202\r
 \r
-#define EVENT_NOTIFY_WAIT                       0x00000100\r
-#define EVENT_NOTIFY_SIGNAL                     0x00000200\r
+#define EVENT_TIMER                             EVT_TIMER\r
+#define EVENT_RUNTIME                           EVT_RUNTIME\r
+#define EVENT_RUNTIME_CONTEXT                   0x20000000\r
 \r
-#define EVENT_SIGNAL_EXIT_BOOT_SERVICES         0x00000201\r
-#define EVENT_SIGNAL_VIRTUAL_ADDRESS_CHANGE     0x60000202\r
+#define EVENT_NOTIFY_WAIT                       EVT_NOTIFY_WAIT\r
+#define EVENT_NOTIFY_SIGNAL                     EVT_NOTIFY_SIGNAL\r
+#define EVENT_SIGNAL_EXIT_BOOT_SERVICES         EVT_SIGNAL_EXIT_BOOT_SERVICES\r
+#define EVENT_SIGNAL_VIRTUAL_ADDRESS_CHANGE     EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE\r
 \r
 //\r
 // Prior to UEFI 2.0 Tiano extended these enums. This was replaced by\r
@@ -580,9 +587,10 @@ VOID
 //\r
 // Variable attributes\r
 //\r
-#define EFI_VARIABLE_NON_VOLATILE       0x00000001\r
-#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002\r
-#define EFI_VARIABLE_RUNTIME_ACCESS     0x00000004\r
+#define EFI_VARIABLE_NON_VOLATILE           0x00000001\r
+#define EFI_VARIABLE_BOOTSERVICE_ACCESS     0x00000002\r
+#define EFI_VARIABLE_RUNTIME_ACCESS         0x00000004\r
+#define EFI_VARIABLE_HARDWARE_ERROR_RECORD  0x00000008\r
 \r
 /**\r
   Returns the value of a variable.\r
@@ -2329,7 +2337,7 @@ typedef enum {
 \r
 \r
 //\r
-// Protocols from EFI 1.10 that got thier names fixed in UEFI 2.0\r
+// Protocols from EFI 1.10 that got their names fixed in UEFI 2.0\r
 //\r
 #include <Protocol/LoadedImage.h>\r
 #include <Protocol/SimpleTextIn.h>\r
@@ -2409,8 +2417,11 @@ typedef enum {
 #include <Protocol/Mtftp4.h>\r
 #include <Protocol/ServiceBinding.h>\r
 #include <Protocol/Hash.h>\r
+#include <Protocol/AcpiTable.h>\r
+#include <Protocol/ComponentName2.h>\r
 \r
 #include <Guid/EventGroup.h>\r
+#include <Guid/HardwareErrorVariable.h>\r
 #endif\r
 \r
 \r