Skip to content

semihosting: Restrict to TCG

Philippe Mathieu-Daudé qemu-devel qemu-riscv 4 versions – Applied

Status from this message: Queued to semihosting/next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest8 patches 1 replyApplied
  2. v35 patches 3 repliesApplied
  3. v23 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches15 repliesApplied

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/8semihosting: Include missing 'gdbstub/syscalls.h' headerinclude/semihosting/syscalls.h+2 -00 replies
2/8target/m68k: Add semihosting stubtarget/m68k/meson.build target/m68k/semihosting-stub.c+19 -10 replies
3/8target/mips: Add semihosting stubtarget/mips/tcg/sysemu/meson.build target/mips/tcg/sysemu/semihosting-stub.c+19 -20 replies
4/8target/m68k: Restrict semihosting to TCGtarget/m68k/Kconfig+1 -10 replies
5/8target/mips: Restrict semihosting to TCGtarget/mips/Kconfig+1 -10 replies
6/8target/riscv: Restrict semihosting to TCGtarget/riscv/Kconfig+2 -20 replies
7/8target/xtensa: Restrict semihosting to TCGtarget/xtensa/Kconfig+1 -10 replies
8/8semihosting: Restrict to TCGsemihosting/Kconfig+1 -00 replies

Reviews trailers per patch

3 of 8 patches have a Reviewed-by or Acked-by.

PatchAnton JohanssonRichard Henderson
1/8
2/8
3/8
4/8
5/8R-b
6/8R-b
7/8
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/8] semihosting: Restrict to TCG

v4: Address Paolo's comment
v3: Address Anton's comment
v2: Address Paolo's comment

Semihosting currently uses the TCG probe_access API, so it is pointless to have it in the binary when TCG isn't.

It could be implemented for other accelerators, but work need to be done. Meanwhile, do not enable it unless TCG is available.

Philippe Mathieu-Daudé (8):
semihosting: Include missing 'gdbstub/syscalls.h' header target/m68k: Add semihosting stub
target/mips: Add semihosting stub
target/m68k: Restrict semihosting to TCG target/mips: Restrict semihosting to TCG target/riscv: Restrict semihosting to TCG target/xtensa: Restrict semihosting to TCG
semihosting: Restrict to TCG

 include/semihosting/syscalls.h            |  2 ++
 target/m68k/semihosting-stub.c            | 15 +++++++++++++++
 target/mips/tcg/sysemu/semihosting-stub.c | 15 +++++++++++++++
 semihosting/Kconfig                       |  1 +
 target/m68k/Kconfig                       |  2 +-
 target/m68k/meson.build                   |  5 ++++-
 target/mips/Kconfig                       |  2 +-
 target/mips/tcg/sysemu/meson.build        |  6 ++++--
 target/riscv/Kconfig                      |  4 ++--
 target/xtensa/Kconfig                     |  2 +-
 10 files changed, 46 insertions(+), 8 deletions(-)
 create mode 100644 target/m68k/semihosting-stub.c
 create mode 100644 target/mips/tcg/sysemu/semihosting-stub.c
Signature · 1 line
2.41.0