diff options
author | Cédric Le Goater <clg@kaod.org> | 2020-04-03 16:00:53 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2020-05-07 11:10:50 +1000 |
commit | d92baf00aad9bba521c2b3cb23fe388c2067aaa0 (patch) | |
tree | f911a28822ff1481776606f867508ccfbc6733f2 /gdb-xml | |
parent | 05af7c77f5f24ef2bec25f2cab22170c29edaf37 (diff) | |
download | qemu-d92baf00aad9bba521c2b3cb23fe388c2067aaa0.zip qemu-d92baf00aad9bba521c2b3cb23fe388c2067aaa0.tar.gz qemu-d92baf00aad9bba521c2b3cb23fe388c2067aaa0.tar.bz2 |
target/ppc: Introduce ppc_radix64_xlate() for Radix tree translation
This is moving code under a new ppc_radix64_xlate() routine shared by
the MMU Radix page fault handler and the 'get_phys_page_debug' PPC
callback. The difference being that 'get_phys_page_debug' does not
generate exceptions.
The specific part of process-scoped Radix translation is moved under
ppc_radix64_process_scoped_xlate() in preparation of the future support
for partition-scoped Radix translation. Routines raising the exceptions
now take a 'cause_excp' bool to cover the 'get_phys_page_debug' case.
It should be functionally equivalent.
Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20200403140056.59465-2-clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'gdb-xml')
0 files changed, 0 insertions, 0 deletions