]> Git Repo - qemu.git/commit - target/arm/cpu.h
target/arm: Handle banking in negative-execution-priority check in cpu_mmu_index()
authorPeter Maydell <[email protected]>
Tue, 12 Sep 2017 18:14:03 +0000 (19:14 +0100)
committerPeter Maydell <[email protected]>
Thu, 21 Sep 2017 15:31:09 +0000 (16:31 +0100)
commit5d4791991d4de12e83d44738417c9e964167b6e8
tree2ea8dd3a34999b55f5334ba637612f8f90fc82a5
parent49c80c380d665bcc7d5b68ea1ec3617e51a90d73
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 <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-id: 1505240046[email protected]
hw/intc/armv7m_nvic.c
target/arm/cpu.h
This page took 0.02604 seconds and 4 git commands to generate.