summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-03-21 09:12:56 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2017-03-21 10:41:25 +0000
commit5d5a19028a55a1fb42c9e4304fc84108d3206296 (patch)
treeefb2f857bb8007c9bc8340e3bfbca74c77642994 /MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c
parent60bd1e1269ff93390a90014144a835ad71fe2fa0 (diff)
downloadedk2-5d5a19028a55a1fb42c9e4304fc84108d3206296.tar.gz
edk2-5d5a19028a55a1fb42c9e4304fc84108d3206296.tar.bz2
edk2-5d5a19028a55a1fb42c9e4304fc84108d3206296.zip
ArmVirtPkg/HighMemDxe: check new regions against GCD memory space map
Instead of looking at the PCD gArmTokenSpaceGuid.PcdSystemMemoryBase to decide which DT node covers the memory we are already using, query the GCD memory space map, which is the authoritative source for this kind of information This fixes a problem observed by Michael on platforms where this PCD is of the 'Patchable' type, which means updates to its value do not propagate to other modules. Reported-by: Michael Zimmermann <sigmaepsilon92@gmail.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c')
0 files changed, 0 insertions, 0 deletions