]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/translate.c
arm: Use different ARMMMUIdx values for M profile
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Jun 2017 10:51:47 +0000 (11:51 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Jun 2017 10:51:47 +0000 (11:51 +0100)
commite7b921c2d9efc249f99b9feb0e7dca82c96aa5c4
tree2407de57c50fd9d94f85b6bdc21efd9d6d7e8b57
parent8bd5c82030b2cb09d3eef6b444f1620911cc9fc5
arm: Use different ARMMMUIdx values for M profile

Make M profile use completely separate ARMMMUIdx values from
those that A profile CPUs use. This is a prelude to adding
support for the MPU and for v8M, which together will require
6 MMU indexes which don't map cleanly onto the A profile
uses:
 non secure User
 non secure Privileged
 non secure Privileged, execution priority < 0
 secure User
 secure Privileged
 secure Privileged, execution priority < 0

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1493122030-32191-4-git-send-email-peter.maydell@linaro.org
target/arm/cpu.h
target/arm/helper.c
target/arm/translate.c