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
@@ -1027,7 +1027,7 @@ GetUefiMemoryProfileData (
|
||||
|
||||
Status = gBS->LocateProtocol (&gEdkiiMemoryProfileGuid, NULL, (VOID **) &ProfileProtocol);
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((EFI_D_ERROR, "UefiMemoryProfile: Locate MemoryProfile protocol - %r\n", Status));
|
||||
DEBUG ((DEBUG_ERROR, "UefiMemoryProfile: Locate MemoryProfile protocol - %r\n", Status));
|
||||
return Status;
|
||||
}
|
||||
|
||||
@@ -1136,7 +1136,7 @@ GetSmramProfileData (
|
||||
|
||||
Status = gBS->LocateProtocol (&gEfiSmmCommunicationProtocolGuid, NULL, (VOID **) &SmmCommunication);
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((EFI_D_ERROR, "SmramProfile: Locate SmmCommunication protocol - %r\n", Status));
|
||||
DEBUG ((DEBUG_ERROR, "SmramProfile: Locate SmmCommunication protocol - %r\n", Status));
|
||||
return Status;
|
||||
}
|
||||
|
||||
@@ -1157,7 +1157,7 @@ GetSmramProfileData (
|
||||
(VOID **) &PiSmmCommunicationRegionTable
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((EFI_D_ERROR, "SmramProfile: Get PiSmmCommunicationRegionTable - %r\n", Status));
|
||||
DEBUG ((DEBUG_ERROR, "SmramProfile: Get PiSmmCommunicationRegionTable - %r\n", Status));
|
||||
return Status;
|
||||
}
|
||||
ASSERT (PiSmmCommunicationRegionTable != NULL);
|
||||
@@ -1193,7 +1193,7 @@ GetSmramProfileData (
|
||||
CommSize = sizeof (EFI_GUID) + sizeof (UINTN) + CommHeader->MessageLength;
|
||||
Status = SmmCommunication->Communicate (SmmCommunication, CommBuffer, &CommSize);
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((EFI_D_ERROR, "SmramProfile: SmmCommunication - %r\n", Status));
|
||||
DEBUG ((DEBUG_ERROR, "SmramProfile: SmmCommunication - %r\n", Status));
|
||||
return Status;
|
||||
}
|
||||
|
||||
@@ -1349,12 +1349,12 @@ UefiMain (
|
||||
|
||||
Status = GetUefiMemoryProfileData ();
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((EFI_D_ERROR, "GetUefiMemoryProfileData - %r\n", Status));
|
||||
DEBUG ((DEBUG_ERROR, "GetUefiMemoryProfileData - %r\n", Status));
|
||||
}
|
||||
|
||||
Status = GetSmramProfileData ();
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((EFI_D_ERROR, "GetSmramProfileData - %r\n", Status));
|
||||
DEBUG ((DEBUG_ERROR, "GetSmramProfileData - %r\n", Status));
|
||||
}
|
||||
|
||||
return EFI_SUCCESS;
|
||||
|
Reference in New Issue
Block a user