]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBus.c
use the GUIDed versions of events: EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE and EVT_SIGNAL_E...
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Pci / IdeBusDxe / IdeBus.c
index e864eccc31005b757bcf6d644dbec378b7ed72e5..fb86e554809e507eb4ef598e051ff174294b5bb5 100644 (file)
@@ -730,11 +730,12 @@ IDEBusDriverBindingStart (
       //\r
       // Create event to clear pending IDE interrupt\r
       //\r
-      Status = gBS->CreateEvent (\r
-                      EVT_SIGNAL_EXIT_BOOT_SERVICES,\r
+      Status = gBS->CreateEventEx (\r
+                      EVT_NOTIFY_SIGNAL,\r
                       TPL_NOTIFY,\r
                       ClearInterrupt,\r
                       IdeBlkIoDevicePtr,\r
+                      &gEfiEventExitBootServicesGuid,\r
                       &IdeBlkIoDevicePtr->ExitBootServiceEvent\r
                       );\r
 \r
@@ -1042,9 +1043,12 @@ DeRegisterIdeDevice (
 // ***********************************************************************************\r
 //\r
 /**\r
-  TODO:    This - add argument and description to function comment\r
-  TODO:    ExtendedVerification - add argument and description to function comment\r
-  TODO:    EFI_DEVICE_ERROR - add return value to function comment\r
+  GC_TODO: Add function description\r
+\r
+  @param  This                  GC_TODO: add argument description.\r
+  @param  ExtendedVerification  GC_TODO: add argument description.\r
+\r
+  @retval EFI_DEVICE_ERROR      GC_TODO: Add description for return value.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -1244,8 +1248,12 @@ Done:
 // ***********************************************************************************\r
 //\r
 /**\r
-  TODO:    This - add argument and description to function comment\r
-  TODO:    EFI_SUCCESS - add return value to function comment\r
+  TODO: Add function description\r
+\r
+  @param  This TODO: add argument description\r
+\r
+  @retval EFI_SUCCESS   GC_TODO: Add description for return value.\r
+\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r