aboutsummaryrefslogtreecommitdiff
path: root/target/m68k/cpu.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-04-30 10:02:24 -0700
committerLaurent Vivier <laurent@vivier.eu>2022-05-26 19:07:38 +0200
commit12629fcf4df783f67e84173a18c9a511d37eb62d (patch)
tree8f0aee89caa9be160f8c42de87756425343c2138 /target/m68k/cpu.c
parent2417cbd5916d043e0c56408221fbe9935d0bc8da (diff)
downloadqemu-12629fcf4df783f67e84173a18c9a511d37eb62d.zip
qemu-12629fcf4df783f67e84173a18c9a511d37eb62d.tar.gz
qemu-12629fcf4df783f67e84173a18c9a511d37eb62d.tar.bz2
target/m68k: Clear mach in m68k_cpu_disas_set_info
Zero selects all cpu features in disas/m68k.c, which is really what we want -- not limited to 68040. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20220430170225.326447-2-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'target/m68k/cpu.c')
-rw-r--r--target/m68k/cpu.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/target/m68k/cpu.c b/target/m68k/cpu.c
index c7aeb7d..5671067 100644
--- a/target/m68k/cpu.c
+++ b/target/m68k/cpu.c
@@ -75,12 +75,8 @@ static void m68k_cpu_reset(DeviceState *dev)
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;
- }
+ info->mach = 0;
}
/* CPU models */