]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVirtPkg/ArmVirtQemu: enable non-exec DXE stack for AARCH64
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 8 Oct 2015 18:52:33 +0000 (18:52 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Thu, 8 Oct 2015 18:52:33 +0000 (18:52 +0000)
Enable the non-exec DXE stack feature when building for AARCH64.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18589 6f19259b-4bc3-4df7-8a09-765794883524

ArmVirtPkg/ArmVirtQemu.dsc

index 9e40f39e4b7dca053b1dfbf82c2d52a94092a859..995be89ef4cd3b4a5b598fc2f8ba2e296c411fc2 100644 (file)
   #\r
   gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16\r
 \r
+[PcdsFixedAtBuild.AARCH64]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack|TRUE\r
+\r
 [PcdsDynamicDefault.common]\r
   ## If TRUE, OvmfPkg/AcpiPlatformDxe will not wait for PCI\r
   #  enumeration to complete before installing ACPI tables.\r