On 05/17/2015 12:51 PM, Peter Crosthwaite wrote: > disas does not need to access the CPU env for any reason. Change the > APIs to accept CPU pointers instead. Small change pattern needs to be > applied to all target translate.c. This brings us closer to making > disas.o a common-obj and less architecture specific in general. > > Cc: Richard Henderson <[email protected]> > Cc: Peter Maydell <[email protected]> > Cc: "Edgar E. Iglesias" <[email protected]> > Cc: Paolo Bonzini <[email protected]> > Cc: Eduardo Habkost <[email protected]> > Cc: Michael Walle <[email protected]> > Cc: Aurelien Jarno <[email protected]> > Cc: Leon Alrae <[email protected]> > Cc: Jia Liu <[email protected]> > Cc: Alexander Graf <[email protected]> > Cc: Mark Cave-Ayland <[email protected]> > Cc: Bastian Koppelmann <[email protected]> > Cc: Guan Xuetao <[email protected]> > Cc: Max Filippov <[email protected]> > Signed-off-by: Peter Crosthwaite <[email protected]> > --- > disas.c | 14 +++++++------- > include/disas/disas.h | 4 ++-- > include/qemu/log.h | 4 ++-- > monitor.c | 2 +- > target-alpha/translate.c | 2 +- > target-arm/translate-a64.c | 2 +- > target-arm/translate.c | 2 +- > target-cris/translate.c | 2 +- > target-i386/translate.c | 2 +- > target-lm32/translate.c | 2 +- > target-m68k/translate.c | 2 +- > target-microblaze/translate.c | 2 +- > target-mips/translate.c | 2 +- > target-openrisc/translate.c | 2 +- > target-ppc/translate.c | 2 +- > target-s390x/translate.c | 2 +- > target-sh4/translate.c | 2 +- > target-sparc/translate.c | 2 +- > target-tricore/translate.c | 2 +- > target-unicore32/translate.c | 2 +- > target-xtensa/translate.c | 2 +- > 21 files changed, 29 insertions(+), 29 deletions(-)
Reviewed-by: Richard Henderson <[email protected]> r~
