mirror of
https://github.com/qemu/qemu.git
synced 2024-12-12 21:23:36 +08:00
target-m68k: set disassembler mode to 680x0 or coldfire
Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
28b68cd79e
commit
4d558f5d58
@ -64,9 +64,14 @@ static void m68k_cpu_reset(CPUState *s)
|
||||
tlb_flush(s, 1);
|
||||
}
|
||||
|
||||
static void m68k_cpu_disas_set_info(CPUState *cpu, disassemble_info *info)
|
||||
static void m68k_cpu_disas_set_info(CPUState *s, disassemble_info *info)
|
||||
{
|
||||
M68kCPU *cpu = M68K_CPU(s);
|
||||
CPUM68KState *env = &cpu->env;
|
||||
info->print_insn = print_insn_m68k;
|
||||
if (m68k_feature(env, M68K_FEATURE_M68000)) {
|
||||
info->mach = bfd_mach_m68040;
|
||||
}
|
||||
}
|
||||
|
||||
/* CPU models */
|
||||
|
Loading…
Reference in New Issue
Block a user