summaryrefslogtreecommitdiffstats
path: root/include/disas
diff options
context:
space:
mode:
authorYoshinori Sato2019-01-21 14:17:38 +0100
committerPhilippe Mathieu-Daudé2020-03-19 17:58:05 +0100
commit4aea3d0c5148f7983f6032ca418081fbe36625e4 (patch)
tree69f61ca8c0c03e92422cb5272e775f3fc86ce637 /include/disas
parenttarget/rx: CPU definitions (diff)
downloadqemu-4aea3d0c5148f7983f6032ca418081fbe36625e4.tar.gz
qemu-4aea3d0c5148f7983f6032ca418081fbe36625e4.tar.xz
qemu-4aea3d0c5148f7983f6032ca418081fbe36625e4.zip
target/rx: RX disassembler
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200224141923.82118-8-ysato@users.sourceforge.jp> Acked-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'include/disas')
-rw-r--r--include/disas/dis-asm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/disas/dis-asm.h b/include/disas/dis-asm.h
index f87f468809..c5f9fa08ab 100644
--- a/include/disas/dis-asm.h
+++ b/include/disas/dis-asm.h
@@ -226,6 +226,10 @@ enum bfd_architecture
#define bfd_mach_nios2r2 2
bfd_arch_lm32, /* Lattice Mico32 */
#define bfd_mach_lm32 1
+ bfd_arch_rx, /* Renesas RX */
+#define bfd_mach_rx 0x75
+#define bfd_mach_rx_v2 0x76
+#define bfd_mach_rx_v3 0x77
bfd_arch_last
};
#define bfd_mach_s390_31 31
@@ -436,6 +440,7 @@ int print_insn_little_nios2 (bfd_vma, disassemble_info*);
int print_insn_xtensa (bfd_vma, disassemble_info*);
int print_insn_riscv32 (bfd_vma, disassemble_info*);
int print_insn_riscv64 (bfd_vma, disassemble_info*);
+int print_insn_rx(bfd_vma, disassemble_info *);
#if 0
/* Fetch the disassembler for a given BFD, if that support is available. */