]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/helper.c
target-arm: Add TTBR regime function and use
authorGreg Bellows <greg.bellows@linaro.org>
Wed, 22 Apr 2015 17:09:18 +0000 (12:09 -0500)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 18 May 2015 19:04:04 +0000 (20:04 +0100)
commitaef878be4e7ab1bdb30b408007320400b0a29c83
tree0afd19c25405f793c9d1cfd985040cf655e5ce26
parentd82322e175d58c0c8951cbc905da1ca9ee2e008c
target-arm: Add TTBR regime function and use

Add a utility function for choosing the correct TTBR system register based on
the specified MMU index. Add use of function on physical address lookup.

Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1429722561-12651-7-git-send-email-greg.bellows@linaro.org
[PMM: fixed regime_ttbr() return type to be uint64_t]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c