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
@@ -40,7 +40,7 @@ EhcReadCapRegister (
|
||||
);
|
||||
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((EFI_D_ERROR, "EhcReadCapRegister: Pci Io read error - %r at %d\n", Status, Offset));
|
||||
DEBUG ((DEBUG_ERROR, "EhcReadCapRegister: Pci Io read error - %r at %d\n", Status, Offset));
|
||||
Data = 0xFFFF;
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ EhcReadDbgRegister (
|
||||
);
|
||||
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((EFI_D_ERROR, "EhcReadDbgRegister: Pci Io read error - %r at %d\n", Status, Offset));
|
||||
DEBUG ((DEBUG_ERROR, "EhcReadDbgRegister: Pci Io read error - %r at %d\n", Status, Offset));
|
||||
Data = 0xFFFF;
|
||||
}
|
||||
|
||||
@@ -168,7 +168,7 @@ EhcReadOpReg (
|
||||
);
|
||||
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((EFI_D_ERROR, "EhcReadOpReg: Pci Io Read error - %r at %d\n", Status, Offset));
|
||||
DEBUG ((DEBUG_ERROR, "EhcReadOpReg: Pci Io Read error - %r at %d\n", Status, Offset));
|
||||
Data = 0xFFFF;
|
||||
}
|
||||
|
||||
@@ -205,7 +205,7 @@ EhcWriteOpReg (
|
||||
);
|
||||
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((EFI_D_ERROR, "EhcWriteOpReg: Pci Io Write error: %r at %d\n", Status, Offset));
|
||||
DEBUG ((DEBUG_ERROR, "EhcWriteOpReg: Pci Io Write error: %r at %d\n", Status, Offset));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -310,7 +310,7 @@ EhcClearLegacySupport (
|
||||
UINT32 Value;
|
||||
UINT32 TimeOut;
|
||||
|
||||
DEBUG ((EFI_D_INFO, "EhcClearLegacySupport: called to clear legacy support\n"));
|
||||
DEBUG ((DEBUG_INFO, "EhcClearLegacySupport: called to clear legacy support\n"));
|
||||
|
||||
PciIo = Ehc->PciIo;
|
||||
ExtendCap = (Ehc->HcCapParams >> 8) & 0xFF;
|
||||
@@ -654,14 +654,14 @@ EhcInitHC (
|
||||
Status = EhcEnablePeriodSchd (Ehc, EHC_GENERIC_TIMEOUT);
|
||||
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((EFI_D_ERROR, "EhcInitHC: failed to enable period schedule\n"));
|
||||
DEBUG ((DEBUG_ERROR, "EhcInitHC: failed to enable period schedule\n"));
|
||||
return Status;
|
||||
}
|
||||
|
||||
Status = EhcEnableAsyncSchd (Ehc, EHC_GENERIC_TIMEOUT);
|
||||
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((EFI_D_ERROR, "EhcInitHC: failed to enable async schedule\n"));
|
||||
DEBUG ((DEBUG_ERROR, "EhcInitHC: failed to enable async schedule\n"));
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user