From e53a6ea90e32b1ed2377fbf3e7fce0dcf372175d Mon Sep 17 00:00:00 2001 From: vanjeff Date: Thu, 4 Sep 2008 07:42:38 +0000 Subject: 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 --- DuetPkg/FSVariable/FileStorage.c | 2 +- DuetPkg/FvbRuntimeService/FWBlockService.c | 2 +- DuetPkg/Library/DuetBdsLib/BdsPlatform.c | 2 +- IntelFrameworkPkg/Library/FrameworkUefiLib/UefiNotTiano.c | 6 +++--- MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c | 2 +- MdeModulePkg/Library/GenericBdsLib/BdsBoot.c | 6 +++--- MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseEntry.c | 2 +- MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c | 2 +- MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c | 2 +- MdeModulePkg/Universal/Network/IScsiDxe/IScsiTcp4Io.c | 8 ++++---- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/DuetPkg/FSVariable/FileStorage.c b/DuetPkg/FSVariable/FileStorage.c index c4c239a..3588f3e 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 dbce179..b0ac93f 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 bf806e3..b8730a8 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 067a85e..f124488 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 489ec5c..0c5705b 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 c3294fa..8a7c0d7 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 b55898d..791269e 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 52fd688..4bd72ae 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 d87b5d6..b88ea1c 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 02f561e..a2f17a6 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, -- cgit v1.1