target/ppc: Eliminate goto in mmubooke_check_tlb()
commita5436bc6ed4d385690546783f1799ea927f5ebd2
authorBALATON Zoltan <balaton@eik.bme.hu>
Tue, 30 May 2023 13:28:13 +0000 (30 15:28 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Sat, 10 Jun 2023 13:19:24 +0000 (10 10:19 -0300)
treed3d7e91d6f853bc19897d5d9a8516a984dbf8220
parent2b23daa8ebaf184e89bd04eed21817620d600cc7
target/ppc: Eliminate goto in mmubooke_check_tlb()

Move out checking PID registers into a separate function which makes
mmubooke_check_tlb() simpler and avoids using goto.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <bd84d5f38af0ba2983ccd5c07635db49267c828f.1685448535.git.balaton@eik.bme.hu>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
target/ppc/mmu_common.c