summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-04 07:42:38 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-04 07:42:38 +0000
commite53a6ea90e32b1ed2377fbf3e7fce0dcf372175d (patch)
tree64e428b0d7c901d32b05c4ca095e710ab26ac3bf
parent9eb7382f73a1b000aca55cd0dc5b61998ec62f52 (diff)
downloadedk2-platforms-e53a6ea90e32b1ed2377fbf3e7fce0dcf372175d.tar.xz
remove EFI_EVENT_ alias, replace them with EVT_
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5813 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--DuetPkg/FSVariable/FileStorage.c2
-rw-r--r--DuetPkg/FvbRuntimeService/FWBlockService.c2
-rw-r--r--DuetPkg/Library/DuetBdsLib/BdsPlatform.c2
-rw-r--r--IntelFrameworkPkg/Library/FrameworkUefiLib/UefiNotTiano.c6
-rw-r--r--MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c2
-rw-r--r--MdeModulePkg/Library/GenericBdsLib/BdsBoot.c6
-rw-r--r--MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseEntry.c2
-rw-r--r--MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c2
-rw-r--r--MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c2
-rw-r--r--MdeModulePkg/Universal/Network/IScsiDxe/IScsiTcp4Io.c8
10 files changed, 17 insertions, 17 deletions
diff --git a/DuetPkg/FSVariable/FileStorage.c b/DuetPkg/FSVariable/FileStorage.c
index c4c239a4fc..3588f3ecbc 100644
--- a/DuetPkg/FSVariable/FileStorage.c
+++ b/DuetPkg/FSVariable/FileStorage.c
@@ -266,7 +266,7 @@ FileStorageConstructor (
// add notify on SFS's installation.
Status = gBS->CreateEvent (
- EFI_EVENT_NOTIFY_SIGNAL,
+ EVT_NOTIFY_SIGNAL,
TPL_CALLBACK,
OnSimpleFileSystemInstall,
Dev,
diff --git a/DuetPkg/FvbRuntimeService/FWBlockService.c b/DuetPkg/FvbRuntimeService/FWBlockService.c
index dbce179d65..b0ac93f3f5 100644
--- a/DuetPkg/FvbRuntimeService/FWBlockService.c
+++ b/DuetPkg/FvbRuntimeService/FWBlockService.c
@@ -1511,7 +1511,7 @@ FvbInstallSfsNotify (
EFI_EVENT Event;
Status = gBS->CreateEvent (
- EFI_EVENT_NOTIFY_SIGNAL,
+ EVT_NOTIFY_SIGNAL,
TPL_CALLBACK,
OnSimpleFileSystemInstall,
NULL,
diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
index bf806e3615..b8730a8bcf 100644
--- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
+++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
@@ -1189,7 +1189,7 @@ Returns:
// Create a 300ms duration event to ensure user has enough input time to enter Setup
//
Status = gBS->CreateEvent (
- EFI_EVENT_TIMER,
+ EVT_TIMER,
0,
NULL,
NULL,
diff --git a/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiNotTiano.c b/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiNotTiano.c
index 067a85e719..f124488820 100644
--- a/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiNotTiano.c
+++ b/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiNotTiano.c
@@ -22,7 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
/**
An empty function to pass error checking of CreateEventEx ().
- This empty function ensures that EFI_EVENT_NOTIFY_SIGNAL_ALL is error
+ This empty function ensures that EVT_NOTIFY_SIGNAL_ALL is error
checked correctly since it is now mapped into CreateEventEx() in UEFI 2.0.
**/
@@ -104,7 +104,7 @@ EfiCreateEventLegacyBootEx (
// prior to UEFI 2.0 use Tiano extension to EFI
//
Status = gBS->CreateEvent (
- EFI_EVENT_SIGNAL_LEGACY_BOOT | EVT_NOTIFY_SIGNAL,
+ EVT_SIGNAL_LEGACY_BOOT | EVT_NOTIFY_SIGNAL,
NotifyTpl,
NotifyFunction,
NotifyContext,
@@ -194,7 +194,7 @@ EfiCreateEventReadyToBootEx (
// prior to UEFI 2.0 use Tiano extension to EFI
//
Status = gBS->CreateEvent (
- EFI_EVENT_SIGNAL_READY_TO_BOOT | EFI_EVENT_NOTIFY_SIGNAL_ALL,
+ EVT_SIGNAL_READY_TO_BOOT | EVT_NOTIFY_SIGNAL_ALL,
NotifyTpl,
NotifyFunction,
NotifyContext,
diff --git a/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c b/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c
index 489ec5c61b..0c5705ba97 100644
--- a/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c
+++ b/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c
@@ -696,7 +696,7 @@ InitKeyboardLayout (
// Register SET_KEYBOARD_LAYOUT_EVENT notification
//
Status = gBS->CreateEventEx (
- EFI_EVENT_NOTIFY_SIGNAL,
+ EVT_NOTIFY_SIGNAL,
TPL_NOTIFY,
SetKeyboardLayoutEvent,
UsbKeyboardDevice,
diff --git a/MdeModulePkg/Library/GenericBdsLib/BdsBoot.c b/MdeModulePkg/Library/GenericBdsLib/BdsBoot.c
index c3294fa497..8a7c0d7ad6 100644
--- a/MdeModulePkg/Library/GenericBdsLib/BdsBoot.c
+++ b/MdeModulePkg/Library/GenericBdsLib/BdsBoot.c
@@ -120,8 +120,8 @@ BdsLibBootViaBootOption (
//
// Notes: this code can be remove after the s3 script table
- // hook on the event EFI_EVENT_SIGNAL_READY_TO_BOOT or
- // EFI_EVENT_SIGNAL_LEGACY_BOOT
+ // hook on the event EVT_SIGNAL_READY_TO_BOOT or
+ // EVT_SIGNAL_LEGACY_BOOT
//
Status = gBS->LocateProtocol (&gEfiAcpiS3SaveProtocolGuid, NULL, (VOID **) &AcpiS3Save);
if (!EFI_ERROR (Status)) {
@@ -142,7 +142,7 @@ BdsLibBootViaBootOption (
}
}
//
- // Signal the EFI_EVENT_SIGNAL_READY_TO_BOOT event
+ // Signal the EVT_SIGNAL_READY_TO_BOOT event
//
EfiSignalEventReadyToBoot();
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseEntry.c b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseEntry.c
index b55898de5a..791269e899 100644
--- a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseEntry.c
+++ b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseEntry.c
@@ -174,7 +174,7 @@ InitializeHiiDatabase (
// Create a event with EFI_HII_SET_KEYBOARD_LAYOUT_EVENT_GUID group type.
//
Status = gBS->CreateEventEx (
- EFI_EVENT_NOTIFY_SIGNAL,
+ EVT_NOTIFY_SIGNAL,
TPL_NOTIFY,
KeyboardLayoutChangeNullEvent,
NULL,
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c
index 52fd68843c..4bd72ae25a 100644
--- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c
+++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c
@@ -581,7 +581,7 @@ IScsiCreateDriverData (
// as to abort the iSCSI session.
//
Status = gBS->CreateEvent (
- EFI_EVENT_SIGNAL_EXIT_BOOT_SERVICES,
+ EVT_SIGNAL_EXIT_BOOT_SERVICES,
TPL_CALLBACK,
IScsiOnExitBootService,
Private,
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c
index d87b5d6cad..b88ea1c2f6 100644
--- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c
+++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c
@@ -235,7 +235,7 @@ IScsiCreateConnection (
Conn->CID = Session->NextCID++;
Status = gBS->CreateEvent (
- EFI_EVENT_TIMER,
+ EVT_TIMER,
TPL_CALLBACK,
NULL,
NULL,
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiTcp4Io.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiTcp4Io.c
index 02f561e157..a2f17a63fb 100644
--- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiTcp4Io.c
+++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiTcp4Io.c
@@ -162,7 +162,7 @@ Tcp4IoCreateSocket (
// Create events for variuos asynchronous operations.
//
Status = gBS->CreateEvent (
- EFI_EVENT_NOTIFY_SIGNAL,
+ EVT_NOTIFY_SIGNAL,
TPL_NOTIFY,
Tcp4IoCommonNotify,
&Tcp4Io->IsConnDone,
@@ -173,7 +173,7 @@ Tcp4IoCreateSocket (
}
Status = gBS->CreateEvent (
- EFI_EVENT_NOTIFY_SIGNAL,
+ EVT_NOTIFY_SIGNAL,
TPL_NOTIFY,
Tcp4IoCommonNotify,
&Tcp4Io->IsTxDone,
@@ -184,7 +184,7 @@ Tcp4IoCreateSocket (
}
Status = gBS->CreateEvent (
- EFI_EVENT_NOTIFY_SIGNAL,
+ EVT_NOTIFY_SIGNAL,
TPL_NOTIFY,
Tcp4IoCommonNotify,
&Tcp4Io->IsRxDone,
@@ -195,7 +195,7 @@ Tcp4IoCreateSocket (
}
Status = gBS->CreateEvent (
- EFI_EVENT_NOTIFY_SIGNAL,
+ EVT_NOTIFY_SIGNAL,
TPL_NOTIFY,
Tcp4IoCommonNotify,
&Tcp4Io->IsCloseDone,