summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorSuraj Jitindar Singh2017-07-03 08:19:46 +0200
committerDavid Gibson2017-07-11 03:04:02 +0200
commit6a042827b638dc73da6a72c72596f5be80bd4581 (patch)
tree636436a11a8a03b2bd69111d9b779769ca319661 /scripts/switch-timer-api
parentspapr: Use unplug_request for PCI hot unplug (diff)
downloadqemu-6a042827b638dc73da6a72c72596f5be80bd4581.tar.gz
qemu-6a042827b638dc73da6a72c72596f5be80bd4581.tar.xz
qemu-6a042827b638dc73da6a72c72596f5be80bd4581.zip
target/ppc: Refactor tcg radix mmu code
The mmu-radix64.c file implements functions to enable the radix mmu emulation in tcg mode. There is a function ppc_radix64_walk_tree() which performs the radix tree walk and also implicitly checks the pte protection. Move the protection checking of the pte from the ppc_radix64_walk_tree() function into the caller. This means the ppc_radix64_walk_tree() function can be used without protection checking which is useful for debugging. ppc_radix64_walk_tree() no longer needs to take the rwx and prot variables. Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions