target-arm: add secure state bit to CPREG hash
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Dec 2014 12:07:49 +0000 (12:07 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Dec 2014 12:07:49 +0000 (12:07 +0000)
commit51a79b039728277e35fd19f7a7b4bc6cb323697f
tree6e00fee2b4cb14e5a1f0ce99b6f770211b0eec33
parentc3e302606253a17568dc3ef30238f102468f7ee1
target-arm: add secure state bit to CPREG hash

Added additional NS-bit to CPREG hash encoding.  Updated hash lookup
locations to specify hash bit currently set to non-secure.

Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1416242878-876-7-git-send-email-greg.bellows@linaro.org
[PMM: fix uses of ENCODE_CP_REG in kvm32.c to add extra argument]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu.h
target-arm/helper.c
target-arm/kvm32.c
target-arm/translate.c