]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiCpuPkg/CpuDxe/CpuPageTable.c
UefiCpuPkg/CpuDxe: Reduce debug message
[mirror_edk2.git] / UefiCpuPkg / CpuDxe / CpuPageTable.c
index ae93f3f5534f446ae2f066922c50c83e61acb20f..309f448a835763dcae70fe32977701a5802e4910 100644 (file)
@@ -442,8 +442,8 @@ ConvertPageEntryAttribute (
   *PageEntry = NewPageEntry;\r
   if (CurrentPageEntry != NewPageEntry) {\r
     *IsModified = TRUE;\r
-    DEBUG ((DEBUG_INFO, "ConvertPageEntryAttribute 0x%lx", CurrentPageEntry));\r
-    DEBUG ((DEBUG_INFO, "->0x%lx\n", NewPageEntry));\r
+    DEBUG ((DEBUG_VERBOSE, "ConvertPageEntryAttribute 0x%lx", CurrentPageEntry));
+    DEBUG ((DEBUG_VERBOSE, "->0x%lx\n", NewPageEntry));
   } else {\r
     *IsModified = FALSE;\r
   }\r
@@ -802,8 +802,12 @@ RefreshGcdMemoryAttributesFromPaging (
 \r
   GetCurrentPagingContext (&PagingContext);\r
 \r
-  BaseAddress = 0;\r
-  PageLength  = 0;\r
+  DoUpdate      = FALSE;\r
+  Capabilities  = 0;\r
+  Attributes    = 0;\r
+  BaseAddress   = 0;\r
+  PageLength    = 0;\r
+\r
   for (Index = 0; Index < NumberOfDescriptors; Index++) {\r
     if (MemorySpaceMap[Index].GcdMemoryType == EfiGcdMemoryTypeNonExistent) {\r
       continue;\r