]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
target-arm: Implement CBAR for Cortex-A57
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Apr 2014 18:18:49 +0000 (19:18 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Apr 2014 20:34:06 +0000 (21:34 +0100)
commitf318cec6adcb73c688d68b0874686a30c0f34a2e
treefa722ad17c8c35c4fae6391bbd88f007c25e2b9b
parent377a44ec8f2fac5b7bef41d212dfbabf53c8c810
target-arm: Implement CBAR for Cortex-A57

The Cortex-A57, like most of the other ARM cores, has a CBAR
register which defines the base address of the per-CPU
peripherals. However it has a 64-bit view as well as a
32-bit view; expand the QOM reset-cbar property from UINT32
to UINT64 so this can be specified, and implement the
32-bit and 64-bit views of a 64-bit CBAR.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
target-arm/cpu-qom.h
target-arm/cpu.c
target-arm/cpu.h
target-arm/cpu64.c
target-arm/helper.c