]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/cpu.h
target/arm: Add TBFLAG_M32.SECURE
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 1 Oct 2022 16:22:43 +0000 (09:22 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 10 Oct 2022 13:52:24 +0000 (14:52 +0100)
commita393dee0194488d3e5f5f83e4ef7ea1f3556f44f
treefd7d8b4a75b85fb619feaa03346eb1a2dc55628b
parent9cd5f1710e2d786042f747f128bc9e954fd7f6c6
target/arm: Add TBFLAG_M32.SECURE

Remove the use of regime_is_secure from arm_tr_init_disas_context.
Instead, provide the value of v8m_secure directly from tb_flags.
Rather than use regime_is_secure, use the env->v7m.secure directly,
as per arm_mmu_idx_el.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20221001162318.153420-8-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/helper.c
target/arm/translate.c