]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c
UefiCpuPkg: Change use of EFI_D_* to DEBUG_*
[mirror_edk2.git] / UefiCpuPkg / PiSmmCpuDxeSmm / SmmProfile.c
index 972bdc28595efd6c7cc31bcb580a6d6f0fdd4a6c..c3f9794b9538dde2da524c2786cf87bea58b369c 100644 (file)
@@ -514,14 +514,14 @@ InitProtectedMemRange (
 \r
   mSplitMemRangeCount = NumberOfSpliteRange;\r
 \r
-  DEBUG ((EFI_D_INFO, "SMM Profile Memory Ranges:\n"));\r
+  DEBUG ((DEBUG_INFO, "SMM Profile Memory Ranges:\n"));\r
   for (Index = 0; Index < mProtectionMemRangeCount; Index++) {\r
-    DEBUG ((EFI_D_INFO, "mProtectionMemRange[%d].Base = %lx\n", Index, mProtectionMemRange[Index].Range.Base));\r
-    DEBUG ((EFI_D_INFO, "mProtectionMemRange[%d].Top  = %lx\n", Index, mProtectionMemRange[Index].Range.Top));\r
+    DEBUG ((DEBUG_INFO, "mProtectionMemRange[%d].Base = %lx\n", Index, mProtectionMemRange[Index].Range.Base));\r
+    DEBUG ((DEBUG_INFO, "mProtectionMemRange[%d].Top  = %lx\n", Index, mProtectionMemRange[Index].Range.Top));\r
   }\r
   for (Index = 0; Index < mSplitMemRangeCount; Index++) {\r
-    DEBUG ((EFI_D_INFO, "mSplitMemRange[%d].Base = %lx\n", Index, mSplitMemRange[Index].Base));\r
-    DEBUG ((EFI_D_INFO, "mSplitMemRange[%d].Top  = %lx\n", Index, mSplitMemRange[Index].Top));\r
+    DEBUG ((DEBUG_INFO, "mSplitMemRange[%d].Base = %lx\n", Index, mSplitMemRange[Index].Base));\r
+    DEBUG ((DEBUG_INFO, "mSplitMemRange[%d].Top  = %lx\n", Index, mSplitMemRange[Index].Top));\r
   }\r
 }\r
 \r
@@ -671,7 +671,7 @@ InitPaging (
   //\r
   // Go through page table and set several page table entries to absent or execute-disable.\r
   //\r
-  DEBUG ((EFI_D_INFO, "Patch page table start ...\n"));\r
+  DEBUG ((DEBUG_INFO, "Patch page table start ...\n"));\r
   for (Pml5Index = 0; Pml5Index < NumberOfPml5Entries; Pml5Index++) {\r
     if ((Pml5[Pml5Index] & IA32_PG_P) == 0) {\r
       //\r
@@ -760,7 +760,7 @@ InitPaging (
   // Flush TLB\r
   //\r
   CpuFlushTlb ();\r
-  DEBUG ((EFI_D_INFO, "Patch page table done!\n"));\r
+  DEBUG ((DEBUG_INFO, "Patch page table done!\n"));\r
   //\r
   // Set execute-disable flag\r
   //\r
@@ -786,7 +786,7 @@ GetSmiCommandPort (
   ASSERT (Fadt != NULL);\r
 \r
   mSmiCommandPort = Fadt->SmiCmd;\r
-  DEBUG ((EFI_D_INFO, "mSmiCommandPort = %x\n", mSmiCommandPort));\r
+  DEBUG ((DEBUG_INFO, "mSmiCommandPort = %x\n", mSmiCommandPort));\r
 }\r
 \r
 /**\r