All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11] capstone + disassembler patches
@ 2020-09-14  0:01 Richard Henderson
  2020-09-14  0:01 ` [PATCH 01/11] capstone: Convert Makefile bits to meson bits Richard Henderson
                   ` (10 more replies)
  0 siblings, 11 replies; 23+ messages in thread
From: Richard Henderson @ 2020-09-14  0:01 UTC (permalink / raw)
  To: qemu-devel; +Cc: luoyonggang, alex.bennee, thuth

The primary change here is the update for capstone to meson.
This bypasses capstone's build system entirely.  There's more
commentary on that subject with the first patch.

Plus a collection of other fixes and cleanups in the area.

There are a couple of other targets that could use capstone:

The current capstone branch has a fatal bug affecting RISC-V.
I have submitted a fix upstream for that, and have the minimal
patches required to enable it here.

There is capstone support for m68k, but it doesn't look like
there's coldfire support.  So capstone is a subset of what we
have in disas/m68k.c.  There's probably no point changing here.

There is capstone support for mips, which might be good enough
to replace disas/mips.c.  It wouldn't replace disas/nanomips.c,
and there's no support at all for the micromips isa.


r~


Richard Henderson (11):
  capstone: Convert Makefile bits to meson bits
  capstone: Update to upstream "next" branch
  disas: Move host asm annotations to tb_gen_code
  disas: Clean up CPUDebug initialization
  disas: Use qemu/bswap.h for bfd endian loads
  disas: Cleanup plugin_disas
  disas: Configure capstone for aarch64 host without libvixl
  disas: Split out capstone code to disas/capstone.c
  disas: Enable capstone disassembly for s390x
  disas/capstone: Add skipdata hook for s390x
  disas: Enable capstone disassembly for sparc

 configure                 |  24 +-
 Makefile                  |  16 -
 include/disas/dis-asm.h   | 102 +++---
 include/disas/disas.h     |   2 +-
 include/exec/log.h        |   4 +-
 accel/tcg/translate-all.c |  24 +-
 disas.c                   | 702 +++++++++-----------------------------
 disas/capstone.c          | 326 ++++++++++++++++++
 target/s390x/cpu.c        |   4 +
 target/sparc/cpu.c        |   4 +
 tcg/tcg.c                 |   4 +-
 capstone                  |   2 +-
 disas/meson.build         |   1 +
 meson.build               | 112 +++++-
 meson_options.txt         |   3 +
 15 files changed, 672 insertions(+), 658 deletions(-)
 create mode 100644 disas/capstone.c

-- 
2.25.1



^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2020-09-15  6:22 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-14  0:01 [PATCH 00/11] capstone + disassembler patches Richard Henderson
2020-09-14  0:01 ` [PATCH 01/11] capstone: Convert Makefile bits to meson bits Richard Henderson
2020-09-14  1:37   ` Richard Henderson
2020-09-14 13:28   ` Paolo Bonzini
2020-09-14 16:23     ` Richard Henderson
2020-09-14 16:43       ` Paolo Bonzini
2020-09-14 13:31   ` Peter Maydell
2020-09-14  0:01 ` [PATCH 02/11] capstone: Update to upstream "next" branch Richard Henderson
2020-09-14  6:07   ` Philippe Mathieu-Daudé
2020-09-14  0:01 ` [PATCH 03/11] disas: Move host asm annotations to tb_gen_code Richard Henderson
2020-09-14  0:01 ` [PATCH 04/11] disas: Clean up CPUDebug initialization Richard Henderson
2020-09-14  0:01 ` [PATCH 05/11] disas: Use qemu/bswap.h for bfd endian loads Richard Henderson
2020-09-14  5:49   ` Philippe Mathieu-Daudé
2020-09-14  0:01 ` [PATCH 06/11] disas: Cleanup plugin_disas Richard Henderson
2020-09-14  0:01 ` [PATCH 07/11] disas: Configure capstone for aarch64 host without libvixl Richard Henderson
2020-09-14  0:01 ` [PATCH 08/11] disas: Split out capstone code to disas/capstone.c Richard Henderson
2020-09-14  0:01 ` [PATCH 09/11] disas: Enable capstone disassembly for s390x Richard Henderson
2020-09-14  0:01 ` [PATCH 10/11] disas/capstone: Add skipdata hook " Richard Henderson
2020-09-14  5:54   ` Philippe Mathieu-Daudé
2020-09-14  0:01 ` [PATCH 11/11] disas: Enable capstone disassembly for sparc Richard Henderson
2020-09-14  6:23   ` Philippe Mathieu-Daudé
2020-09-14 21:07     ` Richard Henderson
2020-09-15  6:20       ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.