]> git.proxmox.com Git - mirror_qemu.git/commit - disas/riscv.c
RISC-V Disassembler
authorMichael Clark <mjc@sifive.com>
Fri, 2 Mar 2018 12:31:10 +0000 (01:31 +1300)
committerMichael Clark <mjc@sifive.com>
Tue, 6 Mar 2018 19:30:28 +0000 (08:30 +1300)
commitea10325917c8a8f92611025c85950c00f826cb73
tree4e3a4be4f06dee5e42d712f948f336cbf4f7979b
parentdc5bd18fa57254e4b8597747c2100c92a55fc409
RISC-V Disassembler

The RISC-V disassembler has no dependencies outside of the 'disas'
directory so it can be applied independently. The majority of the
disassembler is machine-generated from instruction set metadata:

- https://github.com/michaeljclark/riscv-meta

Expected checkpatch errors for consistency and brevity reasons:

ERROR: line over 90 characters
ERROR: trailing statements should be on next line
ERROR: space prohibited between function name and open parenthesis '('

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Michael Clark <mjc@sifive.com>
disas.c
disas/Makefile.objs
disas/riscv.c [new file with mode: 0644]
include/disas/bfd.h