summaryrefslogtreecommitdiffstats
path: root/target-arm/helper.c
diff options
context:
space:
mode:
authorEdgar E. Iglesias2014-05-27 18:09:55 +0200
committerPeter Maydell2014-05-27 18:09:55 +0200
commita1ba125c0ca64b604484ddc104e533546d92088a (patch)
tree5e1816a48b55a864fd3be7107ee1e5130bb96db8 /target-arm/helper.c
parenttarget-arm: A64: Register VBAR_EL2 (diff)
downloadqemu-a1ba125c0ca64b604484ddc104e533546d92088a.tar.gz
qemu-a1ba125c0ca64b604484ddc104e533546d92088a.tar.xz
qemu-a1ba125c0ca64b604484ddc104e533546d92088a.zip
target-arm: A64: Register VBAR_EL3
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-id: 1400980132-25949-24-git-send-email-edgar.iglesias@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/helper.c')
-rw-r--r--target-arm/helper.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c
index c769ef25a5..6a01c6a82a 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -2138,6 +2138,11 @@ static const ARMCPRegInfo v8_el3_cp_reginfo[] = {
.type = ARM_CP_NO_MIGRATE,
.opc0 = 3, .opc1 = 6, .crn = 4, .crm = 0, .opc2 = 0,
.access = PL3_RW, .fieldoffset = offsetof(CPUARMState, banked_spsr[7]) },
+ { .name = "VBAR_EL3", .state = ARM_CP_STATE_AA64,
+ .opc0 = 3, .opc1 = 6, .crn = 12, .crm = 0, .opc2 = 0,
+ .access = PL3_RW, .writefn = vbar_write,
+ .fieldoffset = offsetof(CPUARMState, cp15.vbar_el[3]),
+ .resetvalue = 0 },
REGINFO_SENTINEL
};