qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/8] semihosting: Restrict to TCG
@ 2024-07-17 10:57 Philippe Mathieu-Daudé
  2024-07-17 10:57 ` [PATCH v4 1/8] semihosting: Include missing 'gdbstub/syscalls.h' header Philippe Mathieu-Daudé
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-07-17 10:57 UTC (permalink / raw)
  To: qemu-devel
  Cc: Richard Henderson, Alex Bennée, Anton Johansson, qemu-riscv,
	Paolo Bonzini, Philippe =?unknown-8bit?q?Mathieu-Daud=C3=A9?=

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

-- 
2.41.0



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

end of thread, other threads:[~2024-07-17 18:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-17 10:57 [PATCH v4 0/8] semihosting: Restrict to TCG Philippe Mathieu-Daudé
2024-07-17 10:57 ` [PATCH v4 1/8] semihosting: Include missing 'gdbstub/syscalls.h' header Philippe Mathieu-Daudé
2024-07-17 10:57 ` [PATCH v4 2/8] target/m68k: Add semihosting stub Philippe Mathieu-Daudé
2024-07-17 10:57 ` [PATCH v4 3/8] target/mips: " Philippe Mathieu-Daudé
2024-07-17 10:57 ` [PATCH v4 4/8] target/m68k: Restrict semihosting to TCG Philippe Mathieu-Daudé
2024-07-17 10:57 ` [PATCH v4 5/8] target/mips: " Philippe Mathieu-Daudé
2024-07-17 10:57 ` [PATCH v4 6/8] target/riscv: " Philippe Mathieu-Daudé
2024-07-17 10:57 ` [PATCH v4 7/8] target/xtensa: " Philippe Mathieu-Daudé
2024-07-17 10:57 ` [PATCH v4 8/8] semihosting: Restrict " Philippe Mathieu-Daudé
2024-07-17 18:21 ` [PATCH v4 0/8] " Alex Bennée

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).