]> Git Repo - qemu.git/commit
target/arm: Add is_secure parameter to v7m_read_half_insn
authorRichard Henderson <[email protected]>
Sat, 1 Oct 2022 16:22:42 +0000 (09:22 -0700)
committerPeter Maydell <[email protected]>
Mon, 10 Oct 2022 13:52:24 +0000 (14:52 +0100)
commit9cd5f1710e2d786042f747f128bc9e954fd7f6c6
treee498220ff574e6da7f22deb6aaf21fb4fa17d3b0
parentdef8aa5b80a1c12a3a758801d585c0950867ac94
target/arm: Add is_secure parameter to v7m_read_half_insn

Remove the use of regime_is_secure from v7m_read_half_insn, using
the new parameter instead.

As it happens, both callers pass true, propagated from the argument
to arm_v7m_mmu_idx_for_secstate which created the mmu_idx argument,
but that is a detail of v7m_handle_execute_nsc we need not expose
to the callee.

Reviewed-by: Peter Maydell <[email protected]>
Reviewed-by: Alex BennĂ©e <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Message-id: 20221001162318[email protected]
Signed-off-by: Peter Maydell <[email protected]>
target/arm/m_helper.c
This page took 0.02339 seconds and 4 git commands to generate.