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
This commit is contained in:
xli24 2007-01-10 09:07:51 +00:00
parent cee3584d1e
commit 715a44f11b
1 changed files with 7 additions and 3 deletions

View File

@ -495,10 +495,14 @@ 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
);
//