Skip to contentSkip to conversation

target/arm: Add cortex-a35

PATCH In review Hao Wu 3 participants 3 messages Aug 19, 2022 – Aug 23, 2022

lore
Share & tools
lore

Hao Wu

author
#0 lore raw

PATCH v2 1/1 target/arm: Add cortex-a35

Add cortex A35 core and enable it for virt board.

---
 docs/system/arm/virt.rst |  1 +
 hw/arm/virt.c            |  1 +
 target/arm/cpu64.c       | 80 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 82 insertions(+)
docs/system/arm/virt.rst +1 -0
index 3b6ba69a9a..20442ea2c1 100644
@@ -52,6 +52,7 @@ Supported guest CPU types:
 
 - ``cortex-a7`` (32-bit)
 - ``cortex-a15`` (32-bit; the default)
+- ``cortex-a35`` (64-bit)
 - ``cortex-a53`` (64-bit)
 - ``cortex-a57`` (64-bit)
 - ``cortex-a72`` (64-bit)
hw/arm/virt.c +1 -0
index 9633f822f3..ee06003aed 100644
@@ -199,6 +199,7 @@ static const int a15irqmap[] = {
 static const char *valid_cpus[] = {
     ARM_CPU_TYPE_NAME("cortex-a7"),
     ARM_CPU_TYPE_NAME("cortex-a15"),
+    ARM_CPU_TYPE_NAME("cortex-a35"),
     ARM_CPU_TYPE_NAME("cortex-a53"),
     ARM_CPU_TYPE_NAME("cortex-a57"),
     ARM_CPU_TYPE_NAME("cortex-a72"),
target/arm/cpu64.c +80 -0

92 lines not on this page · raw message

Signature · 1 line
2.37.1.595.g718a3a8f04-goog