remove EFI_EVENT_ alias, replace them with EVT_
authorvanjeff <vanjeff@de2fecce-e211-0410-80a6-f3fac2684e05>
Thu, 4 Sep 2008 07:42:38 +0000 (07:42 +0000)
committervanjeff <vanjeff@de2fecce-e211-0410-80a6-f3fac2684e05>
Thu, 4 Sep 2008 07:42:38 +0000 (07:42 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@5813 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/DuetPkg/FSVariable/FileStorage.c
edk2/DuetPkg/FvbRuntimeService/FWBlockService.c
edk2/DuetPkg/Library/DuetBdsLib/BdsPlatform.c
edk2/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiNotTiano.c
edk2/MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c
edk2/MdeModulePkg/Library/GenericBdsLib/BdsBoot.c
edk2/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseEntry.c
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiProto.c
edk2/MdeModulePkg/Universal/Network/IScsiDxe/IScsiTcp4Io.c

index c4c239a..3588f3e 100644 (file)
@@ -266,7 +266,7 @@ FileStorageConstructor (
   // add notify on SFS's installation.\r
 \r
   Status = gBS->CreateEvent (\r
-                  EFI_EVENT_NOTIFY_SIGNAL,\r
+                  EVT_NOTIFY_SIGNAL,\r
                   TPL_CALLBACK,\r
                   OnSimpleFileSystemInstall,\r
                   Dev,\r
index dbce179..b0ac93f 100644 (file)
@@ -1511,7 +1511,7 @@ FvbInstallSfsNotify (
   EFI_EVENT  Event;\r
 \r
   Status = gBS->CreateEvent (\r
-                  EFI_EVENT_NOTIFY_SIGNAL,\r
+                  EVT_NOTIFY_SIGNAL,\r
                   TPL_CALLBACK,\r
                   OnSimpleFileSystemInstall,\r
                   NULL,\r
index bf806e3..b8730a8 100644 (file)
@@ -1189,7 +1189,7 @@ Returns:
   // Create a 300ms duration event to ensure user has enough input time to enter Setup\r
   //\r
   Status = gBS->CreateEvent (\r
-                  EFI_EVENT_TIMER,\r
+                  EVT_TIMER,\r
                   0,\r
                   NULL,\r
                   NULL,\r
index 067a85e..f124488 100644 (file)
@@ -22,7 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 /**\r
   An empty function to pass error checking of CreateEventEx ().\r
 \r
-  This empty function ensures that EFI_EVENT_NOTIFY_SIGNAL_ALL is error\r
+  This empty function ensures that EVT_NOTIFY_SIGNAL_ALL is error\r
   checked correctly since it is now mapped into CreateEventEx() in UEFI 2.0.\r
 \r
 **/\r
@@ -104,7 +104,7 @@ EfiCreateEventLegacyBootEx (
     // prior to UEFI 2.0 use Tiano extension to EFI\r
     //\r
     Status = gBS->CreateEvent (\r
-                    EFI_EVENT_SIGNAL_LEGACY_BOOT | EVT_NOTIFY_SIGNAL,\r
+                    EVT_SIGNAL_LEGACY_BOOT | EVT_NOTIFY_SIGNAL,\r
                     NotifyTpl,\r
                     NotifyFunction,\r
                     NotifyContext,\r
@@ -194,7 +194,7 @@ EfiCreateEventReadyToBootEx (
     // prior to UEFI 2.0 use Tiano extension to EFI\r
     //\r
     Status = gBS->CreateEvent (\r
-                    EFI_EVENT_SIGNAL_READY_TO_BOOT | EFI_EVENT_NOTIFY_SIGNAL_ALL,\r
+                    EVT_SIGNAL_READY_TO_BOOT | EVT_NOTIFY_SIGNAL_ALL,\r
                     NotifyTpl,\r
                     NotifyFunction,\r
                     NotifyContext,\r
index 489ec5c..0c5705b 100644 (file)
@@ -696,7 +696,7 @@ InitKeyboardLayout (
   // Register SET_KEYBOARD_LAYOUT_EVENT notification\r
   //\r
   Status = gBS->CreateEventEx (\r
-                  EFI_EVENT_NOTIFY_SIGNAL,\r
+                  EVT_NOTIFY_SIGNAL,\r
                   TPL_NOTIFY,\r
                   SetKeyboardLayoutEvent,\r
                   UsbKeyboardDevice,\r
index c3294fa..8a7c0d7 100644 (file)
@@ -120,8 +120,8 @@ BdsLibBootViaBootOption (
 \r
   //\r
   // Notes: this code can be remove after the s3 script table\r
-  // hook on the event EFI_EVENT_SIGNAL_READY_TO_BOOT or\r
-  // EFI_EVENT_SIGNAL_LEGACY_BOOT\r
+  // hook on the event EVT_SIGNAL_READY_TO_BOOT or\r
+  // EVT_SIGNAL_LEGACY_BOOT\r
   //\r
   Status = gBS->LocateProtocol (&gEfiAcpiS3SaveProtocolGuid, NULL, (VOID **) &AcpiS3Save);\r
   if (!EFI_ERROR (Status)) {\r
@@ -142,7 +142,7 @@ BdsLibBootViaBootOption (
     }\r
   }\r
   //\r
-  // Signal the EFI_EVENT_SIGNAL_READY_TO_BOOT event\r
+  // Signal the EVT_SIGNAL_READY_TO_BOOT event\r
   //\r
   EfiSignalEventReadyToBoot();\r
   \r
index b55898d..791269e 100644 (file)
@@ -174,7 +174,7 @@ InitializeHiiDatabase (
   // Create a event with EFI_HII_SET_KEYBOARD_LAYOUT_EVENT_GUID group type.\r
   //\r
   Status = gBS->CreateEventEx (\r
-                  EFI_EVENT_NOTIFY_SIGNAL,\r
+                  EVT_NOTIFY_SIGNAL,\r
                   TPL_NOTIFY,\r
                   KeyboardLayoutChangeNullEvent,\r
                   NULL,\r
index 52fd688..4bd72ae 100644 (file)
@@ -581,7 +581,7 @@ IScsiCreateDriverData (
   // as to abort the iSCSI session.\r
   //\r
   Status = gBS->CreateEvent (\r
-                  EFI_EVENT_SIGNAL_EXIT_BOOT_SERVICES,\r
+                  EVT_SIGNAL_EXIT_BOOT_SERVICES,\r
                   TPL_CALLBACK,\r
                   IScsiOnExitBootService,\r
                   Private,\r
index d87b5d6..b88ea1c 100644 (file)
@@ -235,7 +235,7 @@ IScsiCreateConnection (
   Conn->CID             = Session->NextCID++;\r
 \r
   Status = gBS->CreateEvent (\r
-                  EFI_EVENT_TIMER,\r
+                  EVT_TIMER,\r
                   TPL_CALLBACK,\r
                   NULL,\r
                   NULL,\r
index 02f561e..a2f17a6 100644 (file)
@@ -162,7 +162,7 @@ Tcp4IoCreateSocket (
   // Create events for variuos asynchronous operations.\r
   //\r
   Status = gBS->CreateEvent (\r
-                  EFI_EVENT_NOTIFY_SIGNAL,\r
+                  EVT_NOTIFY_SIGNAL,\r
                   TPL_NOTIFY,\r
                   Tcp4IoCommonNotify,\r
                   &Tcp4Io->IsConnDone,\r
@@ -173,7 +173,7 @@ Tcp4IoCreateSocket (
   }\r
 \r
   Status = gBS->CreateEvent (\r
-                  EFI_EVENT_NOTIFY_SIGNAL,\r
+                  EVT_NOTIFY_SIGNAL,\r
                   TPL_NOTIFY,\r
                   Tcp4IoCommonNotify,\r
                   &Tcp4Io->IsTxDone,\r
@@ -184,7 +184,7 @@ Tcp4IoCreateSocket (
   }\r
 \r
   Status = gBS->CreateEvent (\r
-                  EFI_EVENT_NOTIFY_SIGNAL,\r
+                  EVT_NOTIFY_SIGNAL,\r
                   TPL_NOTIFY,\r
                   Tcp4IoCommonNotify,\r
                   &Tcp4Io->IsRxDone,\r
@@ -195,7 +195,7 @@ Tcp4IoCreateSocket (
   }\r
 \r
   Status = gBS->CreateEvent (\r
-                  EFI_EVENT_NOTIFY_SIGNAL,\r
+                  EVT_NOTIFY_SIGNAL,\r
                   TPL_NOTIFY,\r
                   Tcp4IoCommonNotify,\r
                   &Tcp4Io->IsCloseDone,\r