IDEBusDriverBindingStart() calls REPORT_STATUS_CODE_WITH_DEVICE_PATH with NULL device...
authorxli24 <xli24@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 10 Jan 2007 09:07:51 +0000 (09:07 +0000)
committerxli24 <xli24@de2fecce-e211-0410-80a6-f3fac2684e05>
Wed, 10 Jan 2007 09:07:51 +0000 (09:07 +0000)
This update fixes the issue.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2208 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/EdkModulePkg/Bus/Pci/IdeBus/Dxe/idebus.c

index d17ce5f..3b0e69e 100644 (file)
@@ -495,11 +495,15 @@ IDEBusDriverBindingStart (
       //\r
       // Report Status code: is about to detect IDE drive\r
       //\r
-      REPORT_STATUS_CODE_WITH_DEVICE_PATH (\r
+      REPORT_STATUS_CODE_EX (\r
         EFI_PROGRESS_CODE,\r
         (EFI_IO_BUS_ATA_ATAPI | EFI_P_PC_PRESENCE_DETECT),\r
-        IdeBlkIoDevicePtr->DevicePath\r
-        );\r
+        0,\r
+        &gEfiCallerIdGuid,\r
+        NULL,\r
+        NULL,\r
+        0\r
+      );\r
 \r
       //\r
       // Discover device, now!\r