summary refs log tree commit diff stats
path: root/hw/gpio/omap_gpio.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-09-12 19:14:03 +0100
committerPeter Maydell <peter.maydell@linaro.org>2017-09-21 16:31:09 +0100
commit5d4791991d4de12e83d44738417c9e964167b6e8 (patch)
tree2ea8dd3a34999b55f5334ba637612f8f90fc82a5 /hw/gpio/omap_gpio.c
parent49c80c380d665bcc7d5b68ea1ec3617e51a90d73 (diff)
downloadfocaccia-qemu-5d4791991d4de12e83d44738417c9e964167b6e8.tar.gz
focaccia-qemu-5d4791991d4de12e83d44738417c9e964167b6e8.zip
target/arm: Handle banking in negative-execution-priority check in cpu_mmu_index()
Now that we have a banked FAULTMASK register and banked exceptions,
we can implement the correct check in cpu_mmu_index() for whether
the MPU_CTRL.HFNMIENA bit's effect should apply. This bit causes
handlers which have requested a negative execution priority to run
with the MPU disabled. In v8M the test has to check this for the
current security state and so takes account of banking.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1505240046-11454-17-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/gpio/omap_gpio.c')
0 files changed, 0 insertions, 0 deletions