]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
revise the debug message to add 0x in front of the HEX number for consistency
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / DxeMain / DxeMain.c
index 5d1d6df20293a63c31f05bed08905c2364717669..cd2368e570a758e666bec22bfd584016782b57b7 100644 (file)
@@ -213,7 +213,7 @@ EFI_DECOMPRESS_PROTOCOL  gEfiDecompress = {
 // For Loading modules at fixed address feature, the configuration table is to cache the top address below which to load \r
 // Runtime code&boot time code \r
 //\r
-GLOBAL_REMOVE_IF_UNREFERENCED EFI_LOAD_FIXED_ADDRESS_CONFIGURATION_TABLE    gLoadModuleAtFixAddressConfigurationTable;\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_LOAD_FIXED_ADDRESS_CONFIGURATION_TABLE    gLoadModuleAtFixAddressConfigurationTable = {0, 0};\r
 \r
 // Main entry point to the DXE Core\r
 //\r
@@ -295,7 +295,7 @@ DxeMain (
   // Configuration Table so that user could easily to retrieve the top address to load Dxe and PEI\r
   // Code and Tseg base to load SMM driver. \r
   //\r
-  if (FixedPcdGet64(PcdLoadModuleAtFixAddressEnable) != 0) {\r
+  if (PcdGet64(PcdLoadModuleAtFixAddressEnable) != 0) {\r
     Status = CoreInstallConfigurationTable (&gLoadFixedAddressConfigurationTableGuid, &gLoadModuleAtFixAddressConfigurationTable);\r
     ASSERT_EFI_ERROR (Status);\r
   }\r