target/ppc: Split off real mode cases in get_physical_address_wtlb()
authorBALATON Zoltan <balaton@eik.bme.hu>
Sun, 12 May 2024 23:27:44 +0000 (01:27 +0200)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 23 May 2024 23:43:05 +0000 (09:43 +1000)
commit549685161da1d4c948eee0a4a3da6f9a6b879e83
treec3591978ad1cdf3ec9abf303a1d8ae322871aaca
parent279fe98d0d3057daa4045faa6e2119288d7b7f07
target/ppc: Split off real mode cases in get_physical_address_wtlb()

The real mode handling is identical in the remaining switch cases.
Split off these common real mode cases into a separate conditional to
leave only the else branches in the switch that are different.

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