Re: [Qemu-devel] [PATCH 20/26] target/arm: New helper function arm_v7m_mmu_idx_all()

2019-04-23 Thread Richard Henderson
On 4/16/19 5:57 AM, Peter Maydell wrote: > Add a new helper function which returns the MMU index to use > for v7M, where the caller specifies all of the security > state, privilege level and whether the execution priority > is negative, and reimplement the existing > arm_v7m_mmu_idx_for_secstate_an

[Qemu-devel] [PATCH 20/26] target/arm: New helper function arm_v7m_mmu_idx_all()

2019-04-16 Thread Peter Maydell
Add a new helper function which returns the MMU index to use for v7M, where the caller specifies all of the security state, privilege level and whether the execution priority is negative, and reimplement the existing arm_v7m_mmu_idx_for_secstate_and_priv() in terms of it. We are going to need this