OpenSBI Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add semihosting support in opensbi
@ 2022-09-08  8:42 Kautuk Consul
  2022-09-08  8:42 ` [PATCH 1/2] include: types: add __noinline macro Kautuk Consul
  2022-09-08  8:42 ` [PATCH 2/2] lib: utils/serial: add semihosting support Kautuk Consul
  0 siblings, 2 replies; 4+ messages in thread
From: Kautuk Consul @ 2022-09-08  8:42 UTC (permalink / raw)
  To: opensbi

Semihosting is a mechanism that enables code running on
a target to communicate and use the Input/Output
facilities on a host computer that is running a debugger.
This patchset adds support for semihosting in opensbi
for RISCV64 targets.

Kautuk Consul (2):
  include: types: add noinline macro
  lib: utils/serial: add semihosting support

 include/sbi/sbi_types.h                |   1 +
 include/sbi_utils/serial/semihosting.h |  47 +++++++
 lib/utils/serial/Kconfig               |   4 +
 lib/utils/serial/objects.mk            |   1 +
 lib/utils/serial/semihosting.c         | 176 +++++++++++++++++++++++++
 platform/generic/configs/defconfig     |   1 +
 platform/generic/platform.c            |  11 +-
 7 files changed, 240 insertions(+), 1 deletion(-)
 create mode 100644 include/sbi_utils/serial/semihosting.h
 create mode 100644 lib/utils/serial/semihosting.c

-- 
2.34.1



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

end of thread, other threads:[~2022-09-08 11:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-08  8:42 [PATCH 0/2] Add semihosting support in opensbi Kautuk Consul
2022-09-08  8:42 ` [PATCH 1/2] include: types: add __noinline macro Kautuk Consul
2022-09-08  8:42 ` [PATCH 2/2] lib: utils/serial: add semihosting support Kautuk Consul
2022-09-08 11:18   ` Jessica Clarke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox