]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Add missing M profile case to regime_is_user()
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 13 Dec 2017 17:59:23 +0000 (17:59 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 13 Dec 2017 17:59:23 +0000 (17:59 +0000)
commit871bec7c44a453d9cab972ce1b5d12e1af0545ab
tree2c1dce73bd8a7b84078ffda98607400e6940fe50
parent83d7f86d3d27473c0aac79c1baaa5c2ab01b02d9
target/arm: Add missing M profile case to regime_is_user()

When we added the ARMMMUIdx_MSUser MMU index we forgot to
add it to the case statement in regime_is_user(), so we
weren't treating it as unprivileged when doing MPU lookups.
Correct the omission.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1512153879-5291-4-git-send-email-peter.maydell@linaro.org
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
target/arm/helper.c