summaryrefslogtreecommitdiff
path: root/OldMdePkg/Include
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-25 08:54:54 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-25 08:54:54 +0000
commit93b0fbc8a1731a3c4ae789bebac4b1d8966719c3 (patch)
tree800e8a6512892d5de738f0c86bf8f5bc3ab9063b /OldMdePkg/Include
parenta197b1ad17703a117e5b67c50c311325a2b3bdcb (diff)
downloadedk2-platforms-93b0fbc8a1731a3c4ae789bebac4b1d8966719c3.tar.xz
Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
Changed old event definitions reference to these new event definitions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2729 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OldMdePkg/Include')
-rw-r--r--OldMdePkg/Include/Library/UefiLib.h2
-rw-r--r--OldMdePkg/Include/Uefi/UefiSpec.h21
2 files changed, 15 insertions, 8 deletions
diff --git a/OldMdePkg/Include/Library/UefiLib.h b/OldMdePkg/Include/Library/UefiLib.h
index 9eaf48cace..03dc5dc9b2 100644
--- a/OldMdePkg/Include/Library/UefiLib.h
+++ b/OldMdePkg/Include/Library/UefiLib.h
@@ -180,7 +180,7 @@ EfiInitializeLock (
**/
#define EFI_INITIALIZE_LOCK_VARIABLE(Priority) \
- {Priority, EFI_TPL_APPLICATION, EfiLockReleased }
+ {Priority, TPL_APPLICATION, EfiLockReleased }
/**
diff --git a/OldMdePkg/Include/Uefi/UefiSpec.h b/OldMdePkg/Include/Uefi/UefiSpec.h
index 6f34077068..ee1a23a091 100644
--- a/OldMdePkg/Include/Uefi/UefiSpec.h
+++ b/OldMdePkg/Include/Uefi/UefiSpec.h
@@ -341,15 +341,22 @@ EFI_STATUS
//
// EFI Event Types (name defined in spec)
//
-#define EVENT_TIMER 0x80000000
-#define EVENT_RUNTIME 0x40000000
-#define EVENT_RUNTIME_CONTEXT 0x20000000
+#define EVT_TIMER 0x80000000
+#define EVT_RUNTIME 0x40000000
+
+#define EVT_NOTIFY_WAIT 0x00000100
+#define EVT_NOTIFY_SIGNAL 0x00000200
+#define EVT_SIGNAL_EXIT_BOOT_SERVICES 0x00000201
+#define EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE 0x60000202
-#define EVENT_NOTIFY_WAIT 0x00000100
-#define EVENT_NOTIFY_SIGNAL 0x00000200
+#define EVENT_TIMER EVT_TIMER
+#define EVENT_RUNTIME EVT_RUNTIME
+#define EVENT_RUNTIME_CONTEXT 0x20000000
-#define EVENT_SIGNAL_EXIT_BOOT_SERVICES 0x00000201
-#define EVENT_SIGNAL_VIRTUAL_ADDRESS_CHANGE 0x60000202
+#define EVENT_NOTIFY_WAIT EVT_NOTIFY_WAIT
+#define EVENT_NOTIFY_SIGNAL EVT_NOTIFY_SIGNAL
+#define EVENT_SIGNAL_EXIT_BOOT_SERVICES EVT_SIGNAL_EXIT_BOOT_SERVICES
+#define EVENT_SIGNAL_VIRTUAL_ADDRESS_CHANGE EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE
//
// Prior to UEFI 2.0 Tiano extended these enums. This was replaced by