summaryrefslogtreecommitdiff
path: root/disas.c
diff options
context:
space:
mode:
authorPeter Crosthwaite <crosthwaitepeter@gmail.com>2015-07-11 18:59:59 -0700
committerAndreas Färber <afaerber@suse.de>2015-10-22 15:49:40 +0200
commit9f87a4cacd397e82e80c9512627ce5e190dfa971 (patch)
treead14475fbd7f199e62a0b86a6f76c2e44d6719ea /disas.c
parentdbad6b74b3de6ce839bd870657b6bcc192e3b74a (diff)
downloadqemu-9f87a4cacd397e82e80c9512627ce5e190dfa971.tar.gz
qemu-9f87a4cacd397e82e80c9512627ce5e190dfa971.tar.bz2
qemu-9f87a4cacd397e82e80c9512627ce5e190dfa971.zip
disas: QOMify moxie specific disas setup
Move the target_disas() moxie specifics to the CPUClass::disas_set_info() hook and delete the #ifdef specific code in disas.c. Cc: Anthony Green <green@moxielogic.com> Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'disas.c')
-rw-r--r--disas.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/disas.c b/disas.c
index 655f23d30d..05d409b195 100644
--- a/disas.c
+++ b/disas.c
@@ -249,9 +249,6 @@ void target_disas(FILE *out, CPUState *cpu, target_ulong code,
#elif defined(TARGET_ALPHA)
s.info.mach = bfd_mach_alpha_ev6;
s.info.print_insn = print_insn_alpha;
-#elif defined(TARGET_MOXIE)
- s.info.mach = bfd_arch_moxie;
- s.info.print_insn = print_insn_moxie;
#elif defined(TARGET_LM32)
s.info.mach = bfd_mach_lm32;
s.info.print_insn = print_insn_lm32;
@@ -459,9 +456,6 @@ void monitor_disas(Monitor *mon, CPUState *cpu,
#elif defined(TARGET_SH4)
s.info.mach = bfd_mach_sh4;
s.info.print_insn = print_insn_sh;
-#elif defined(TARGET_MOXIE)
- s.info.mach = bfd_arch_moxie;
- s.info.print_insn = print_insn_moxie;
#elif defined(TARGET_LM32)
s.info.mach = bfd_mach_lm32;
s.info.print_insn = print_insn_lm32;