X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ArmPlatformPkg%2FArmRealViewEbPkg%2FLibrary%2FArmRealViewEbLibRTSM%2FArmRealViewEbMem.c;h=1ed2c478031919ffc2cc0090b24a1693d1f837ea;hp=c7a413dc2e66b6ce688e190b55a03544f2d27d4d;hb=c357fd6a1f79e2d7b0a1bd01994b8d33925bfff5;hpb=18b24f924f06f2345c0410d145d14e1a9a500dc8 diff --git a/ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbMem.c b/ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbMem.c index c7a413dc2e..1ed2c47803 100644 --- a/ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbMem.c +++ b/ArmPlatformPkg/ArmRealViewEbPkg/Library/ArmRealViewEbLibRTSM/ArmRealViewEbMem.c @@ -65,9 +65,9 @@ ArmPlatformGetVirtualMemoryMap ( VirtualMemoryTable[Index].Attributes = (ARM_MEMORY_REGION_ATTRIBUTES)CacheAttributes; // DDR - VirtualMemoryTable[++Index].PhysicalBase = PcdGet32 (PcdSystemMemoryBase); - VirtualMemoryTable[Index].VirtualBase = PcdGet32 (PcdSystemMemoryBase); - VirtualMemoryTable[Index].Length = PcdGet32 (PcdSystemMemorySize); + VirtualMemoryTable[++Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase); + VirtualMemoryTable[Index].VirtualBase = PcdGet64 (PcdSystemMemoryBase); + VirtualMemoryTable[Index].Length = PcdGet64 (PcdSystemMemorySize); VirtualMemoryTable[Index].Attributes = (ARM_MEMORY_REGION_ATTRIBUTES)CacheAttributes; // SMC CS7