]> Git Repo - qemu.git/commit
target/ppc: Rework ppc_radix64_walk_tree() for partition-scoped translation
authorCédric Le Goater <[email protected]>
Fri, 3 Apr 2020 14:00:55 +0000 (16:00 +0200)
committerDavid Gibson <[email protected]>
Thu, 7 May 2020 01:10:50 +0000 (11:10 +1000)
commit6bffd48b9e8efcd6977c86f2ea8437771d15043c
treedf9c8e8f965ca6228ab61681bee65b0a39c49d6d
parent522ad21875ac48426c282ef2b7dfe87adb40afb4
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 <[email protected]>
Signed-off-by: Greg Kurz <[email protected]>
Signed-off-by: Cédric Le Goater <[email protected]>
Message-Id: <20200403140056[email protected]>
Signed-off-by: David Gibson <[email protected]>
target/ppc/mmu-radix64.c
This page took 0.027072 seconds and 4 git commands to generate.