mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
target/ppc: changed ppc_hash64_xlate to use mmu_idx
Changed hash64 address translation to use the supplied mmu_idx instead of using the one stored in the msr, for parity purposes (other book3s MMUs already use it). Signed-off-by: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210628133610.1143-4-bruno.larsen@eldorado.org.br> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
3f9f76d5bb
commit
03695a9870
3 changed files with 23 additions and 24 deletions
|
@ -2908,7 +2908,7 @@ static bool ppc_xlate(PowerPCCPU *cpu, vaddr eaddr, MMUAccessType access_type,
|
|||
case POWERPC_MMU_2_06:
|
||||
case POWERPC_MMU_2_07:
|
||||
return ppc_hash64_xlate(cpu, eaddr, access_type,
|
||||
raddrp, psizep, protp, guest_visible);
|
||||
raddrp, psizep, protp, mmu_idx, guest_visible);
|
||||
#endif
|
||||
|
||||
case POWERPC_MMU_32B:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue