target-arm: Update generic cpreg code for AArch64
commitf5a0a5a5abe7b72ad14b8884681a25fcf3e91c16
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 4 Jan 2014 22:15:44 +0000 (4 22:15 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sat, 4 Jan 2014 22:15:44 +0000 (4 22:15 +0000)
tree8d315c5d94b16cc4bc3ac8f82fbdc41f26e1033f
parent6e6efd612f58726189893fd4d948b7fc10acd872
target-arm: Update generic cpreg code for AArch64

Update the generic cpreg support code to also handle AArch64:
AArch64-visible registers coexist in the same hash table with
AArch32-visible ones, with a bit in the hash key distinguishing
them.

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