summaryrefslogtreecommitdiffstats
path: root/target/ppc/excp_helper.c
diff options
context:
space:
mode:
authorCédric Le Goater2020-04-03 16:00:55 +0200
committerDavid Gibson2020-05-07 03:10:50 +0200
commit6bffd48b9e8efcd6977c86f2ea8437771d15043c (patch)
treedf9c8e8f965ca6228ab61681bee65b0a39c49d6d /target/ppc/excp_helper.c
parenttarget/ppc: Extend ppc_radix64_check_prot() with a 'partition_scoped' bool (diff)
downloadqemu-6bffd48b9e8efcd6977c86f2ea8437771d15043c.tar.gz
qemu-6bffd48b9e8efcd6977c86f2ea8437771d15043c.tar.xz
qemu-6bffd48b9e8efcd6977c86f2ea8437771d15043c.zip
target/ppc: Rework ppc_radix64_walk_tree() for partition-scoped translation
The ppc_radix64_walk_tree() routine walks through the nested radix tables to look for a PTE. Split it in two and introduce a new routine ppc_radix64_next_level() which we will use for partition-scoped Radix translation when translating the process tree addresses. The prototypes are slightly change to use a 'AddressSpace *' parameter, instead of a 'PowerPCCPU *' which is not required, and to return an error code instead of a PTE value. It clarifies error handling in the callers. Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Signed-off-by: Greg Kurz <groug@kaod.org> Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20200403140056.59465-4-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc/excp_helper.c')
0 files changed, 0 insertions, 0 deletions