summaryrefslogtreecommitdiffstats
path: root/target/arm/cpu.h
diff options
context:
space:
mode:
authorPeter Maydell2020-11-19 22:56:11 +0100
committerPeter Maydell2020-12-10 12:44:56 +0100
commit0e83f905fb043cedb0282f77b97c50292e148faa (patch)
tree17bee91c698cfcca8a9c7c3fb008d80e2eae8dc4 /target/arm/cpu.h
parenttarget/arm: Implement new v8.1M VLLDM and VLSTM encodings (diff)
downloadqemu-0e83f905fb043cedb0282f77b97c50292e148faa.tar.gz
qemu-0e83f905fb043cedb0282f77b97c50292e148faa.tar.xz
qemu-0e83f905fb043cedb0282f77b97c50292e148faa.zip
hw/intc/armv7m_nvic: Support v8.1M CCR.TRD bit
v8.1M introduces a new TRD flag in the CCR register, which enables checking for stack frame integrity signatures on SG instructions. This bit is not banked, and is always RAZ/WI to Non-secure code. Adjust the code for handling CCR reads and writes to handle this. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20201119215617.29887-23-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/cpu.h')
-rw-r--r--target/arm/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/arm/cpu.h b/target/arm/cpu.h
index 47cb5032ce..22c55c8193 100644
--- a/target/arm/cpu.h
+++ b/target/arm/cpu.h
@@ -1611,6 +1611,8 @@ FIELD(V7M_CCR, STKOFHFNMIGN, 10, 1)
FIELD(V7M_CCR, DC, 16, 1)
FIELD(V7M_CCR, IC, 17, 1)
FIELD(V7M_CCR, BP, 18, 1)
+FIELD(V7M_CCR, LOB, 19, 1)
+FIELD(V7M_CCR, TRD, 20, 1)
/* V7M SCR bits */
FIELD(V7M_SCR, SLEEPONEXIT, 1, 1)