// hold the spcified address. If the feature is configured as load module at fixed offset, ImageAddress hold an offset\r
// relative to top address\r
//\r
- if ((INT64)FixedPcdGet64(PcdLoadModuleAtFixAddressEnable) < 0) {\r
+ if ((INT64)PcdGet64(PcdLoadModuleAtFixAddressEnable) < 0) {\r
ImageContext->ImageAddress = gLoadModuleAtFixAddressConfigurationTable.DxeCodeTopAddress + (INT64)ImageContext->ImageAddress;\r
}\r
//\r
}\r
SectionHeaderOffset += sizeof (EFI_IMAGE_SECTION_HEADER);\r
}\r
- DEBUG ((EFI_D_INFO|EFI_D_LOAD, "LOADING MODULE FIXED INFO: Loading module at fixed address %x. Status = %r \n", ImageContext->ImageAddress, Status));\r
+ DEBUG ((EFI_D_INFO|EFI_D_LOAD, "LOADING MODULE FIXED INFO: Loading module at fixed address 0x%11p. Status = %r \n", (VOID *)(UINTN)(ImageContext->ImageAddress), Status));\r
return Status;\r
}\r
/**\r
// If Loading Module At Fixed Address feature is enabled, the module should be loaded to\r
// a specified address.\r
//\r
- if (FixedPcdGet64(PcdLoadModuleAtFixAddressEnable) != 0 ) {\r
+ if (PcdGet64(PcdLoadModuleAtFixAddressEnable) != 0 ) {\r
Status = GetPeCoffImageFixLoadingAssignedAddress (&(Image->ImageContext));\r
\r
if (EFI_ERROR (Status)) {\r