target-arm: Add VBAR support to ARM1176 CPUs
commit91db4642f868cf2e591b62d31a19d35b02ea791e
authorCédric Le Goater <clg@kaod.org>
Tue, 27 Dec 2016 14:59:30 +0000 (27 14:59 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 27 Dec 2016 14:59:30 +0000 (27 14:59 +0000)
tree6ec574ac50cd501492b60002290e881bc2140b1a
parent9e41bade85ef338afd983c109368d1bbbe931f80
target-arm: Add VBAR support to ARM1176 CPUs

ARM1176 CPUs have TrustZone support and can use the Vector Base
Address Register, but currently, qemu only adds VBAR support to ARMv7
CPUs. Fix this by adding a new feature ARM_FEATURE_VBAR which can used
for ARMv7 and ARM1176 CPUs.

The VBAR feature is always set for ARMv7 because some legacy boards
require it even if this is not architecturally correct.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 1481810970-9692-1-git-send-email-clg@kaod.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.c
target/arm/cpu.h
target/arm/helper.c