mirror of https://github.com/acidanthera/audk.git
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:
parent
cee3584d1e
commit
715a44f11b
|
@ -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!
|
||||
|
|
Loading…
Reference in New Issue