target/ppc: Get CPUState in one step
authorBALATON Zoltan <balaton@eik.bme.hu>
Thu, 15 Jun 2023 23:03:21 +0000 (01:03 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 7 Jul 2023 07:46:12 +0000 (04:46 -0300)
commit4e6b7db2c3331ccc2cae24443950a501181a9a0c
treefa79d20c546589de43df898334042fd1e5e68713
parent08d7cfd04c3e90b0e904918cd785352e50bc17e1
target/ppc: Get CPUState in one step

We can get CPUState from env with env_cpu without going through
PowerPCCPU and casting that.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Acked-by: Nicholas Piggin <npiggin@gmail.com>
Message-ID: <28424220f37f51ce97f24cadc7538a9c0d16cb45.1686868895.git.balaton@eik.bme.hu>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
target/ppc/excp_helper.c