summary refs log tree commit diff stats
path: root/hw/core/qdev.c
diff options
context:
space:
mode:
authorAndrew Jones <drjones@redhat.com>2015-03-16 12:30:46 +0000
committerPeter Maydell <peter.maydell@linaro.org>2015-03-16 12:30:46 +0000
commit0fbf5238203041f734c51b49778223686f14366b (patch)
treeebd371b03479011f65da3beedf169e08dac3ceee /hw/core/qdev.c
parentf421f05754ac5aabe15f12051390204116408b00 (diff)
downloadfocaccia-qemu-0fbf5238203041f734c51b49778223686f14366b.tar.gz
focaccia-qemu-0fbf5238203041f734c51b49778223686f14366b.zip
target-arm: convert check_ap to ap_to_rw_prot
Instead of mixing access permission checking with access permissions
to page protection flags translation, just do the translation, and
leave it to the caller to check the protection flags against the access
type. Also rename to ap_to_rw_prot to better describe the new behavior.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1426099139-14463-2-git-send-email-drjones@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/core/qdev.c')
0 files changed, 0 insertions, 0 deletions