]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/helper.c
target/arm: Implement MSR/MRS access to NS banked registers
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 12 Sep 2017 18:13:48 +0000 (19:13 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Sep 2017 15:28:23 +0000 (16:28 +0100)
commit50f11062d4c896408731d6a286bcd116d1e08465
tree117767ff2c9ceaa8c9a7749c2b486c3db5d95c05
parent9ee660e7c138595224b65ddc1c5712549f0a278c
target/arm: Implement MSR/MRS access to NS banked registers

In v8M the MSR and MRS instructions have extra register value
encodings to allow secure code to access the non-secure banked
version of various special registers.

(We don't implement the MSPLIM_NS or PSPLIM_NS aliases, because
we don't currently implement the stack limit registers at all.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1505240046-11454-2-git-send-email-peter.maydell@linaro.org
target/arm/helper.c