diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-10 09:07:51 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-10 09:07:51 +0000 |
commit | 715a44f11b0af748a1febc2c2cf4c7d955403b3e (patch) | |
tree | 925300e6c297da310564af8ab76ecc480126ecbd | |
parent | cee3584d1ef1cc37724b198b3044d52e0e094c66 (diff) | |
download | edk2-platforms-715a44f11b0af748a1febc2c2cf4c7d955403b3e.tar.xz |
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
-rw-r--r-- | EdkModulePkg/Bus/Pci/IdeBus/Dxe/idebus.c | 10 |
1 files 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!
|