aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-02-11 18:41:38 +0000
committerPeter Maydell <peter.maydell@linaro.org>2014-03-06 18:33:16 +0000
commit405a2c899c08b9b144cb13c9c87683824e18ad30 (patch)
treec07a33226739528e6c743846490b81c6caab0028
parent0cf1e11082eca69e0b932acd39d0297f78782c29 (diff)
downloadqemu-arm-a64-system-4.tar.gz
hw/arm/virt: Add support for Cortex-A57a64-system-4
Support the Cortex-A57 in the virt machine model. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> --- This should perhaps not be just stealing the a15mpcore_priv on the basis that it's a GICv2...
-rw-r--r--hw/arm/virt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 517f2fe30f..d985d2e56c 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -123,6 +123,14 @@ static VirtBoardInfo machines[] = {
.irqmap = a15irqmap,
},
{
+ .cpu_model = "cortex-a57",
+ /* Use the A15 private peripheral model for now: probably wrong! */
+ .qdevname = "a15mpcore_priv",
+ .gic_compatible = "arm,cortex-a15-gic",
+ .memmap = a15memmap,
+ .irqmap = a15irqmap,
+ },
+ {
.cpu_model = "host",
/* We use the A15 private peripheral model to get a V2 GIC */
.qdevname = "a15mpcore_priv",