diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2021-11-16 19:21:42 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-12-07 17:24:28 +0000 |
commit | 96e1cba5c1cb0f9272bbde6e851cae60521a0ef1 (patch) | |
tree | 29bff9915b9333a283f579058506b823ce9b8a57 /UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c | |
parent | 586fda4800124351c347d55f7bc186ac6aa15667 (diff) | |
download | edk2-96e1cba5c1cb0f9272bbde6e851cae60521a0ef1.tar.gz edk2-96e1cba5c1cb0f9272bbde6e851cae60521a0ef1.tar.bz2 edk2-96e1cba5c1cb0f9272bbde6e851cae60521a0ef1.zip |
UefiCpuPkg: 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: Ray Ni <ray.ni@intel.com>
Diffstat (limited to 'UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c')
-rw-r--r-- | UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c b/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c index 972bdc2859..c3f9794b95 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c @@ -514,14 +514,14 @@ InitProtectedMemRange ( mSplitMemRangeCount = NumberOfSpliteRange;
- DEBUG ((EFI_D_INFO, "SMM Profile Memory Ranges:\n"));
+ DEBUG ((DEBUG_INFO, "SMM Profile Memory Ranges:\n"));
for (Index = 0; Index < mProtectionMemRangeCount; Index++) {
- DEBUG ((EFI_D_INFO, "mProtectionMemRange[%d].Base = %lx\n", Index, mProtectionMemRange[Index].Range.Base));
- DEBUG ((EFI_D_INFO, "mProtectionMemRange[%d].Top = %lx\n", Index, mProtectionMemRange[Index].Range.Top));
+ DEBUG ((DEBUG_INFO, "mProtectionMemRange[%d].Base = %lx\n", Index, mProtectionMemRange[Index].Range.Base));
+ DEBUG ((DEBUG_INFO, "mProtectionMemRange[%d].Top = %lx\n", Index, mProtectionMemRange[Index].Range.Top));
}
for (Index = 0; Index < mSplitMemRangeCount; Index++) {
- DEBUG ((EFI_D_INFO, "mSplitMemRange[%d].Base = %lx\n", Index, mSplitMemRange[Index].Base));
- DEBUG ((EFI_D_INFO, "mSplitMemRange[%d].Top = %lx\n", Index, mSplitMemRange[Index].Top));
+ DEBUG ((DEBUG_INFO, "mSplitMemRange[%d].Base = %lx\n", Index, mSplitMemRange[Index].Base));
+ DEBUG ((DEBUG_INFO, "mSplitMemRange[%d].Top = %lx\n", Index, mSplitMemRange[Index].Top));
}
}
@@ -671,7 +671,7 @@ InitPaging ( //
// Go through page table and set several page table entries to absent or execute-disable.
//
- DEBUG ((EFI_D_INFO, "Patch page table start ...\n"));
+ DEBUG ((DEBUG_INFO, "Patch page table start ...\n"));
for (Pml5Index = 0; Pml5Index < NumberOfPml5Entries; Pml5Index++) {
if ((Pml5[Pml5Index] & IA32_PG_P) == 0) {
//
@@ -760,7 +760,7 @@ InitPaging ( // Flush TLB
//
CpuFlushTlb ();
- DEBUG ((EFI_D_INFO, "Patch page table done!\n"));
+ DEBUG ((DEBUG_INFO, "Patch page table done!\n"));
//
// Set execute-disable flag
//
@@ -786,7 +786,7 @@ GetSmiCommandPort ( ASSERT (Fadt != NULL);
mSmiCommandPort = Fadt->SmiCmd;
- DEBUG ((EFI_D_INFO, "mSmiCommandPort = %x\n", mSmiCommandPort));
+ DEBUG ((DEBUG_INFO, "mSmiCommandPort = %x\n", mSmiCommandPort));
}
/**
|