mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
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:
parent
30547859f2
commit
861b91d975
@ -235,7 +235,7 @@ class PlatformBuilder(UefiBuilder, BuildSettingsManager):
|
|||||||
if (self.env.GetValue("TARGET_ARCH").upper() == "AARCH64"):
|
if (self.env.GetValue("TARGET_ARCH").upper() == "AARCH64"):
|
||||||
cmd = "qemu-system-aarch64"
|
cmd = "qemu-system-aarch64"
|
||||||
args = "-M virt"
|
args = "-M virt"
|
||||||
args += " -cpu cortex-a57" # emulate cpu
|
args += " -cpu neoverse-n2" # emulate cpu
|
||||||
elif(self.env.GetValue("TARGET_ARCH").upper() == "ARM"):
|
elif(self.env.GetValue("TARGET_ARCH").upper() == "ARM"):
|
||||||
cmd = "qemu-system-arm"
|
cmd = "qemu-system-arm"
|
||||||
args = "-M virt,highmem=off"
|
args = "-M virt,highmem=off"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user