mbox series

[v3,0/5] Make the core disassembler functions target-independent

Message ID 20230510155226.647756-1-richard.henderson@linaro.org
Headers show
Series Make the core disassembler functions target-independent | expand

Message

Richard Henderson May 10, 2023, 3:52 p.m. UTC
Merges Thomas' RFC patch set with part of my "build-tcg-once" patch set.
The only real change from Thomas' is to use uint64_t instead of hwaddr.

For v3, adjust how capstone is included in common_ss.


r~


Richard Henderson (3):
  disas: Move disas.c to disas/
  disas: Remove target_ulong from the interface
  disas: Remove target-specific headers

Thomas Huth (2):
  disas: Move softmmu specific code to separate file
  disas: Move disas.c into the target-independent source set

 meson.build              |   3 --
 disas/disas-internal.h   |  21 ++++++++
 include/disas/disas.h    |  23 +++------
 bsd-user/elfload.c       |   5 +-
 disas/disas-mon.c        |  65 +++++++++++++++++++++++++
 disas.c => disas/disas.c | 100 +++++++--------------------------------
 linux-user/elfload.c     |   5 +-
 disas/meson.build        |   6 ++-
 8 files changed, 121 insertions(+), 107 deletions(-)
 create mode 100644 disas/disas-internal.h
 create mode 100644 disas/disas-mon.c
 rename disas.c => disas/disas.c (79%)