]> git.proxmox.com Git - mirror_qemu.git/commit - target/ppc/translate_init.c.inc
target/ppc: convert to DisasContextBase
authorEmilio G. Cota <cota@braap.org>
Thu, 15 Feb 2018 19:51:48 +0000 (14:51 -0500)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 16 Feb 2018 01:14:39 +0000 (12:14 +1100)
commitb6bac4bc7016531405d117cfc1bf64145799e164
tree77d22cd63a71f754f555818fe9b9c8a9e1e8b70b
parent5d0fb1508e2d279da74ef4a103e8def9b52c6304
target/ppc: convert to DisasContextBase

A couple of notes:

- removed ctx->nip in favour of base->pc_next. Yes, it is annoying,
  but didn't want to waste its 4 bytes.

- ctx->singlestep_enabled does a lot more than
  base.singlestep_enabled; this confused me at first.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate.c
target/ppc/translate/dfp-impl.inc.c
target/ppc/translate_init.c