summaryrefslogtreecommitdiffstats
path: root/target-arm/cpu64.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-02-05 13:37:24 +0000
committerPeter Maydell <peter.maydell@linaro.org>2015-02-05 13:37:24 +0000
commit0480f69abf849ca0d48928cc6c669c1c7264239b (patch)
treed271946edff2c05b76f85db23540fd5d55ffb2a6 /target-arm/cpu64.c
parentd364970287c0ba68979711928c15e5d37414f87f (diff)
downloadhqemu-0480f69abf849ca0d48928cc6c669c1c7264239b.zip
hqemu-0480f69abf849ca0d48928cc6c669c1c7264239b.tar.gz
target-arm: Use mmu_idx in get_phys_addr()
Now we have the mmu_idx in get_phys_addr(), use it correctly to determine the behaviour of virtual to physical address translations, rather than using just an is_user flag and the current CPU state. Some TODO comments have been added to indicate where changes will need to be made to add EL2 and 64-bit EL3 support. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Greg Bellows <greg.bellows@linaro.org>
Diffstat (limited to 'target-arm/cpu64.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud