OSDN Git Service

target-arm: Adjust debug ID registers per-CPU
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 19 Aug 2014 17:56:25 +0000 (18:56 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 19 Aug 2014 18:02:03 +0000 (19:02 +0100)
commit48eb3ae64b3e17151cf8f42af185e6f43baf707b
tree99dd56aaba44dbdc92537de9e76c5f07a5946b21
parent10aae1049fe90b84798af2751051ea896437a831
target-arm: Adjust debug ID registers per-CPU

Allow each CPU type to specify the value for the debug ID
registers, by putting them in the ARMCPU struct, and use
the resulting information to only expose the correct number
of watchpoint and breakpoint registers for the CPU.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
target-arm/cpu-qom.h
target-arm/cpu.c
target-arm/cpu64.c
target-arm/helper.c