]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/helper.c
target/arm: Don't allow guest to make System space executable for M profile
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 27 Jul 2017 10:59:07 +0000 (11:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 31 Jul 2017 12:09:18 +0000 (13:09 +0100)
commitbf446a11dfb17ae7d8ed2b61a2444804eb458075
tree0e322d33916bccce25d8869294e5fbfd914f84b6
parent38aaa60ca464b48e6feef346709e97335d01b289
target/arm: Don't allow guest to make System space executable for M profile

For an M profile v7PMSA, the system space (0xe0000000 - 0xffffffff) can
never be executable, even if the guest tries to set the MPU registers
up that way. Enforce this restriction.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1501153150-19984-3-git-send-email-peter.maydell@linaro.org
target/arm/helper.c