summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common/TargetTxtClassObject.py
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2017-03-21 08:47:23 +0000
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2017-03-21 10:41:12 +0000
commit60bd1e1269ff93390a90014144a835ad71fe2fa0 (patch)
tree9b3a2df0416d5a8df29def78192158a92b988768 /BaseTools/Source/Python/Common/TargetTxtClassObject.py
parent09da11081915dea25d2d1bba87cdf460102e52bb (diff)
downloadedk2-60bd1e1269ff93390a90014144a835ad71fe2fa0.tar.gz
edk2-60bd1e1269ff93390a90014144a835ad71fe2fa0.tar.bz2
edk2-60bd1e1269ff93390a90014144a835ad71fe2fa0.zip
ArmVirtPkg/HighMemDxe: use CPU arch protocol to apply memprotect policy
Instead of invoking gDS->SetMemorySpaceAttributes to set the EFI_MEMORY_XP attribute on newly added regions, which is guaranteed to fail if the same attribute was not declared as a capability of the region when it as added, invoke the CPU arch protocol directly to set the EFI_MEMORY_XP attribute if our memory protection policy demands it. 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 'BaseTools/Source/Python/Common/TargetTxtClassObject.py')
0 files changed, 0 insertions, 0 deletions