diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2017-12-13 17:59:23 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2017-12-13 17:59:23 +0000 |
| commit | ec8e3340286a87d3924c223d60ba5c994549f796 (patch) | |
| tree | d1e39740c5de3330582eea5e3bf364ce8143a2f3 /scripts/qapi.py | |
| parent | 62593718d77c06ad2b5e942727cead40775d2395 (diff) | |
| download | focaccia-qemu-ec8e3340286a87d3924c223d60ba5c994549f796.tar.gz focaccia-qemu-ec8e3340286a87d3924c223d60ba5c994549f796.zip | |
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 <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 1512153879-5291-6-git-send-email-peter.maydell@linaro.org Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions