diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2021-11-16 19:21:29 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-12-07 17:24:28 +0000 |
commit | 87000d77082339be464d07855d9fc194c6b4e8a6 (patch) | |
tree | 2ac61c88056fa10bf27c2d60515c848293eaa08e /MdeModulePkg/Application | |
parent | 917e98f3e5268c3754d472f7b20eb9bf8eba169d (diff) | |
download | edk2-87000d77082339be464d07855d9fc194c6b4e8a6.tar.gz |
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>
Diffstat (limited to 'MdeModulePkg/Application')
-rw-r--r-- | MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.c b/MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.c index 191c310685..99a2d52db1 100644 --- a/MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.c +++ b/MdeModulePkg/Application/MemoryProfileInfo/MemoryProfileInfo.c @@ -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;
|