target/ppc: Split out BookE xlate cases before checking real mode
authorBALATON Zoltan <balaton@eik.bme.hu>
Sun, 12 May 2024 23:27:43 +0000 (01:27 +0200)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 23 May 2024 23:43:04 +0000 (09:43 +1000)
commit279fe98d0d3057daa4045faa6e2119288d7b7f07
tree116f1dfb3645b6eed4f213ecdf6156eb50e2b9fb
parentf3f66a315714a0bf10c1b82df3324834c9b484fc
target/ppc: Split out BookE xlate cases before checking real mode

BookE does not have real mode so split off and handle it first in
get_physical_address_wtlb() before checking for real mode for other
MMU models.

Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/mmu_common.c