MdeModulePkg: Change use of EFI_D_* to DEBUG_*
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3739 Update all use of EFI_D_* defines in DEBUG() macros to DEBUG_* defines. Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
917e98f3e5
commit
87000d7708
@@ -358,7 +358,7 @@ RegisterAtaDevice (
|
||||
// If yes, then install Storage Security Protocol at the ata device handle.
|
||||
//
|
||||
if ((AtaDevice->IdentifyData->trusted_computing_support & BIT0) != 0) {
|
||||
DEBUG ((EFI_D_INFO, "Found TCG support in Port %x PortMultiplierPort %x\n", Port, PortMultiplierPort));
|
||||
DEBUG ((DEBUG_INFO, "Found TCG support in Port %x PortMultiplierPort %x\n", Port, PortMultiplierPort));
|
||||
Status = gBS->InstallProtocolInterface (
|
||||
&AtaDevice->Handle,
|
||||
&gEfiStorageSecurityCommandProtocolGuid,
|
||||
@@ -368,7 +368,7 @@ RegisterAtaDevice (
|
||||
if (EFI_ERROR (Status)) {
|
||||
goto Done;
|
||||
}
|
||||
DEBUG ((EFI_D_INFO, "Successfully Install Storage Security Protocol on the ATA device\n"));
|
||||
DEBUG ((DEBUG_INFO, "Successfully Install Storage Security Protocol on the ATA device\n"));
|
||||
}
|
||||
|
||||
gBS->OpenProtocol (
|
||||
@@ -387,7 +387,7 @@ Done:
|
||||
|
||||
if (EFI_ERROR (Status) && (AtaDevice != NULL)) {
|
||||
ReleaseAtaResources (AtaDevice);
|
||||
DEBUG ((EFI_D_ERROR | EFI_D_INIT, "Failed to initialize Port %x PortMultiplierPort %x, status = %r\n", Port, PortMultiplierPort, Status));
|
||||
DEBUG ((DEBUG_ERROR | DEBUG_INIT, "Failed to initialize Port %x PortMultiplierPort %x, status = %r\n", Port, PortMultiplierPort, Status));
|
||||
}
|
||||
return Status;
|
||||
}
|
||||
@@ -1537,7 +1537,7 @@ AtaStorageSecurityReceiveData (
|
||||
ATA_DEVICE *Private;
|
||||
EFI_TPL OldTpl;
|
||||
|
||||
DEBUG ((EFI_D_INFO, "EFI Storage Security Protocol - Read\n"));
|
||||
DEBUG ((DEBUG_INFO, "EFI Storage Security Protocol - Read\n"));
|
||||
if ((PayloadBuffer == NULL || PayloadTransferSize == NULL) && PayloadBufferSize != 0) {
|
||||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
@@ -1647,7 +1647,7 @@ AtaStorageSecuritySendData (
|
||||
ATA_DEVICE *Private;
|
||||
EFI_TPL OldTpl;
|
||||
|
||||
DEBUG ((EFI_D_INFO, "EFI Storage Security Protocol - Send\n"));
|
||||
DEBUG ((DEBUG_INFO, "EFI Storage Security Protocol - Send\n"));
|
||||
if ((PayloadBuffer == NULL) && (PayloadBufferSize != 0)) {
|
||||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
@@ -1709,4 +1709,3 @@ InitializeAtaBus(
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user