summaryrefslogtreecommitdiffstats
path: root/target/arm/helper.h
diff options
context:
space:
mode:
authorPeter Maydell2017-12-13 18:59:24 +0100
committerPeter Maydell2017-12-13 18:59:24 +0100
commit5158de241b0fb344a6c948dfcbc4e611ab5fafbe (patch)
treeac6982199c30ad6e17316e8dcdd972d3270599cf /target/arm/helper.h
parenttarget/arm: Factor MPU lookup code out of get_phys_addr_pmsav8() (diff)
downloadqemu-5158de241b0fb344a6c948dfcbc4e611ab5fafbe.tar.gz
qemu-5158de241b0fb344a6c948dfcbc4e611ab5fafbe.tar.xz
qemu-5158de241b0fb344a6c948dfcbc4e611ab5fafbe.zip
target/arm: Implement TT instruction
Implement the TT instruction which queries the security state and access permissions of a memory location. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 1512153879-5291-8-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/helper.h')
-rw-r--r--target/arm/helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/arm/helper.h b/target/arm/helper.h
index 439d228420..066729e8ad 100644
--- a/target/arm/helper.h
+++ b/target/arm/helper.h
@@ -66,6 +66,8 @@ DEF_HELPER_2(v7m_mrs, i32, env, i32)
DEF_HELPER_2(v7m_bxns, void, env, i32)
DEF_HELPER_2(v7m_blxns, void, env, i32)
+DEF_HELPER_3(v7m_tt, i32, env, i32, i32)
+
DEF_HELPER_4(access_check_cp_reg, void, env, ptr, i32, i32)
DEF_HELPER_3(set_cp_reg, void, env, ptr, i32)
DEF_HELPER_2(get_cp_reg, i32, env, ptr)