target-arm: add CPREG secure state support
authorFabian Aggeler <aggelerf@ethz.ch>
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)
commitc3e302606253a17568dc3ef30238f102468f7ee1
tree0096bf459788d873fbb9084a790356235c4e77f8
parent3f342b9e0e64ad681cd39840bfa75ef12d2807c1
target-arm: add CPREG secure state support

Prepare ARMCPRegInfo to support specifying two fieldoffsets per
register definition. This will allow us to keep one register
definition for banked registers (different offsets for secure/
non-secure world).

Also added secure state tracking field and flags.  This allows for
identification of the register info secure state.

Signed-off-by: Fabian Aggeler <aggelerf@ethz.ch>
Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1416242878-876-6-git-send-email-greg.bellows@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu.h