On 12/07/2015 03:00, Peter Crosthwaite wrote: > From: Peter Crosthwaite <crosthwaitepe...@gmail.com> > > Move the target_disas() mips specifics to the QOM disas_set_info hook > and delete the #ifdef specific code in disas.c. > > Cc: Aurelien Jarno <aurel...@aurel32.net> > Cc: Leon Alrae <leon.al...@imgtec.com> > Signed-off-by: Peter Crosthwaite <crosthwaite.pe...@gmail.com> > --- > Testing: > mips-test$ ./run-qemu -d in_asm -S 2> err > QEMU 2.3.90 monitor - type 'help' for more information > (qemu) x/i 0xbfc00000 > 0xbfc00000: j 0xbfc00580 > (qemu) c > (qemu) q > > mips-test$ more err > IN: > 0xbfc00000: j 0xbfc00580 > 0xbfc00004: nop > > IN: > 0xbfc00580: li a0,2 > 0xbfc00584: lui sp,0x8000 > ... > --- > disas.c | 12 ------------ > target-mips/cpu.c | 10 ++++++++++ > 2 files changed, 10 insertions(+), 12 deletions(-)
Acked-by: Leon Alrae <leon.al...@imgtec.com>