From 715a44f11b0af748a1febc2c2cf4c7d955403b3e Mon Sep 17 00:00:00 2001 From: xli24 Date: Wed, 10 Jan 2007 09:07:51 +0000 Subject: [PATCH] IDEBusDriverBindingStart() calls REPORT_STATUS_CODE_WITH_DEVICE_PATH with NULL device path. If progress code is switched on, ASSERT would happen. This update fixes the issue. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2208 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkModulePkg/Bus/Pci/IdeBus/Dxe/idebus.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/EdkModulePkg/Bus/Pci/IdeBus/Dxe/idebus.c b/EdkModulePkg/Bus/Pci/IdeBus/Dxe/idebus.c index d17ce5f07d..3b0e69e929 100644 --- a/EdkModulePkg/Bus/Pci/IdeBus/Dxe/idebus.c +++ b/EdkModulePkg/Bus/Pci/IdeBus/Dxe/idebus.c @@ -495,11 +495,15 @@ IDEBusDriverBindingStart ( // // Report Status code: is about to detect IDE drive // - REPORT_STATUS_CODE_WITH_DEVICE_PATH ( + REPORT_STATUS_CODE_EX ( EFI_PROGRESS_CODE, (EFI_IO_BUS_ATA_ATAPI | EFI_P_PC_PRESENCE_DETECT), - IdeBlkIoDevicePtr->DevicePath - ); + 0, + &gEfiCallerIdGuid, + NULL, + NULL, + 0 + ); // // Discover device, now!