mbox series

[0/2] Add semihosting support in opensbi

Message ID 20220908084239.3205866-1-kconsul@ventanamicro.com
Headers show
Series Add semihosting support in opensbi | expand

Message

Kautuk Consul Sept. 8, 2022, 8:42 a.m. UTC
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