]> Git Repo - qemu.git/commit - target/arm/cpu.h
target/arm: Create new arm_v7m_mmu_idx_for_secstate_and_priv()
authorPeter Maydell <[email protected]>
Wed, 13 Dec 2017 17:59:23 +0000 (17:59 +0000)
committerPeter Maydell <[email protected]>
Wed, 13 Dec 2017 17:59:23 +0000 (17:59 +0000)
commitec8e3340286a87d3924c223d60ba5c994549f796
treed1e39740c5de3330582eea5e3bf364ce8143a2f3
parent62593718d77c06ad2b5e942727cead40775d2395
target/arm: Create new arm_v7m_mmu_idx_for_secstate_and_priv()

The TT instruction is going to need to look up the MMU index
for a specified security and privilege state. Refactor the
existing arm_v7m_mmu_idx_for_secstate() into a version that
lets you specify the privilege state and one that uses the
current state of the CPU.

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: 1512153879[email protected]
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
target/arm/cpu.h
This page took 0.026002 seconds and 4 git commands to generate.