// 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
// 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