Add missing status code in several modules.
Signed-off-by: Li Elvin <elvin.li@intel.com> Reviewed-by: Yao Jiewen <jiewen.yao@intel.com> Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com> Reviewed-by: Gao Liming <liming.gao@intel.com> Reviewed-by: Tian Feng <feng.tian@intel.com> Reviewed-by: Fan Jeff <jeff.fan@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13890 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -294,6 +294,15 @@ RegisterAtaDevice (
|
||||
InitializeListHead (&AtaDevice->AtaTaskList);
|
||||
InitializeListHead (&AtaDevice->AtaSubTaskList);
|
||||
|
||||
//
|
||||
// Report Status Code to indicate the ATA device will be enabled
|
||||
//
|
||||
REPORT_STATUS_CODE_WITH_DEVICE_PATH (
|
||||
EFI_PROGRESS_CODE,
|
||||
(EFI_IO_BUS_ATA_ATAPI | EFI_IOB_PC_ENABLE),
|
||||
AtaBusDriverData->ParentDevicePath
|
||||
);
|
||||
|
||||
//
|
||||
// Try to identify the ATA device via the ATA pass through command.
|
||||
//
|
||||
@@ -719,6 +728,15 @@ AtaBusDriverBindingStart (
|
||||
return Status;
|
||||
}
|
||||
|
||||
//
|
||||
// Report Status Code to indicate ATA bus starts
|
||||
//
|
||||
REPORT_STATUS_CODE_WITH_DEVICE_PATH (
|
||||
EFI_PROGRESS_CODE,
|
||||
(EFI_IO_BUS_ATA_ATAPI | EFI_IOB_PC_INIT),
|
||||
ParentDevicePath
|
||||
);
|
||||
|
||||
Status = gBS->OpenProtocol (
|
||||
Controller,
|
||||
&gEfiAtaPassThruProtocolGuid,
|
||||
@@ -771,6 +789,15 @@ AtaBusDriverBindingStart (
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Report Status Code to indicate detecting devices on bus
|
||||
//
|
||||
REPORT_STATUS_CODE_WITH_DEVICE_PATH (
|
||||
EFI_PROGRESS_CODE,
|
||||
(EFI_IO_BUS_ATA_ATAPI | EFI_IOB_PC_DETECT),
|
||||
ParentDevicePath
|
||||
);
|
||||
|
||||
if (RemainingDevicePath == NULL) {
|
||||
Port = 0xFFFF;
|
||||
while (TRUE) {
|
||||
|
Reference in New Issue
Block a user