ArmVirtPkg: Add RNDR Support to QEMU

In order to use dynamic stack cookies in ArmVirtQemu, we need
RNDR support. This is added by using the neoverse-n2 cpu.

Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
This commit is contained in:
Oliver Smith-Denny 2024-10-28 10:56:07 -07:00 committed by mergify[bot]
parent 30547859f2
commit 861b91d975

View File

@ -235,7 +235,7 @@ class PlatformBuilder(UefiBuilder, BuildSettingsManager):
if (self.env.GetValue("TARGET_ARCH").upper() == "AARCH64"):
cmd = "qemu-system-aarch64"
args = "-M virt"
args += " -cpu cortex-a57" # emulate cpu
args += " -cpu neoverse-n2" # emulate cpu
elif(self.env.GetValue("TARGET_ARCH").upper() == "ARM"):
cmd = "qemu-system-arm"
args = "-M virt,highmem=off"