diff options
| author | Suraj Jitindar Singh <sjitindarsingh@gmail.com> | 2017-07-03 16:19:46 +1000 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2017-07-11 11:04:02 +1000 |
| commit | 6a042827b638dc73da6a72c72596f5be80bd4581 (patch) | |
| tree | 636436a11a8a03b2bd69111d9b779769ca319661 /hw/intc/omap_intc.c | |
| parent | 3340e5c4f28363348a0b3654624ff72ed14aa7cf (diff) | |
| download | focaccia-qemu-6a042827b638dc73da6a72c72596f5be80bd4581.tar.gz focaccia-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 'hw/intc/omap_intc.c')
0 files changed, 0 insertions, 0 deletions