diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-08-22 08:26:46 -0700 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-09-22 16:38:27 +0100 |
commit | dbf2a71ad62b99286adf6cdc6d6c12cdb26306a9 (patch) | |
tree | 4ff71d75f052a6d6960d347cc5f99e1d2bd3efe5 /target/arm/internals.h | |
parent | 652c750ee5c57ba3bbaf32e5ebb77fbbc8f68385 (diff) | |
download | qemu-dbf2a71ad62b99286adf6cdc6d6c12cdb26306a9.zip qemu-dbf2a71ad62b99286adf6cdc6d6c12cdb26306a9.tar.gz qemu-dbf2a71ad62b99286adf6cdc6d6c12cdb26306a9.tar.bz2 |
target/arm: Add is_secure parameter to v8m_security_lookup
Remove the use of regime_is_secure from v8m_security_lookup,
passing the new parameter to the lookup instead.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220822152741.1617527-12-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/internals.h')
-rw-r--r-- | target/arm/internals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/internals.h b/target/arm/internals.h index f8b22d3..e97f5c3 100644 --- a/target/arm/internals.h +++ b/target/arm/internals.h @@ -1123,7 +1123,7 @@ typedef struct V8M_SAttributes { void v8m_security_lookup(CPUARMState *env, uint32_t address, MMUAccessType access_type, ARMMMUIdx mmu_idx, - V8M_SAttributes *sattrs); + bool secure, V8M_SAttributes *sattrs); /* Cacheability and shareability attributes for a memory access */ typedef struct ARMCacheAttrs { |