summaryrefslogtreecommitdiffstats
path: root/target-arm/cpu64.c
diff options
context:
space:
mode:
authorAlistair Francis2016-02-18 15:16:17 +0100
committerPeter Maydell2016-02-18 15:16:17 +0100
commit4054bfa9e7986c9b7d2bf70f9e10af9647e376fc (patch)
tree164c863496140c88f8c906fd58f429b7ca75fe5f /target-arm/cpu64.c
parenttarget-arm: UNDEF in the UNPREDICTABLE SRS-from-System case (diff)
downloadqemu-4054bfa9e7986c9b7d2bf70f9e10af9647e376fc.tar.gz
qemu-4054bfa9e7986c9b7d2bf70f9e10af9647e376fc.tar.xz
qemu-4054bfa9e7986c9b7d2bf70f9e10af9647e376fc.zip
target-arm: Add the pmceid0 and pmceid1 registers
Signed-off-by: Aaron Lindsay <alindsay@codeaurora.org> Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Tested-by: Nathan Rossi <nathan@nathanrossi.com> Message-id: da0563119a9f56fd5fbdc26e7ed19a8a8457c5b9.1455060548.git.alistair.francis@xilinx.com [PMM: Use 0 for PMCEID0 values for A15 and A57 since our PMU does not currently implement any events.] Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/cpu64.c')
-rw-r--r--target-arm/cpu64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-arm/cpu64.c b/target-arm/cpu64.c
index c5bc19a405..fa5eda2cd1 100644
--- a/target-arm/cpu64.c
+++ b/target-arm/cpu64.c
@@ -135,6 +135,8 @@ static void aarch64_a57_initfn(Object *obj)
cpu->id_isar5 = 0x00011121;
cpu->id_aa64pfr0 = 0x00002222;
cpu->id_aa64dfr0 = 0x10305106;
+ cpu->pmceid0 = 0x00000000;
+ cpu->pmceid1 = 0x00000000;
cpu->id_aa64isar0 = 0x00011120;
cpu->id_aa64mmfr0 = 0x00001124;
cpu->dbgdidr = 0x3516d000;