Skip to content

RFC Make the core disassembler functions target-independent

Thomas Huth qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2disas: Move softmmu specific code to separate filedisas.c disas/disas-internal.h disas/disas-mon.c +2 more+96 -730 replies
2/2disas: Move disas.c into the target-independent source setbsd-user/elfload.c disas.c include/disas/disas.h +3 more+20 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] Make the core disassembler functions target-independent

Move disas.c into the target-independent source set, so that we only have to compile this code once instead multiple times (one time for each target).

Marked as RFC since we have to replace the target_ulongs here with hwaddr, and the TARGET_FMT_lx with HWADDR_FMT_plx, which is a little bit ugly ... what's your opinion?

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

 meson.build            |  4 +-
 disas/disas-internal.h | 20 +++++++++
 include/disas/disas.h  | 21 +++------
 include/hw/elf_ops.h   |  2 +-
 bsd-user/elfload.c     |  2 +-
 disas.c                | 98 ++++++++----------------------------------
 disas/disas-mon.c      | 65 ++++++++++++++++++++++++++++
 linux-user/elfload.c   |  2 +-
 disas/meson.build      |  2 +
 9 files changed, 116 insertions(+), 100 deletions(-)
 create mode 100644 disas/disas-internal.h
 create mode 100644 disas/disas-mon.c
Signature · 1 line
2.31.1