All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kautuk Consul <kconsul@ventanamicro.com>
To: opensbi@lists.infradead.org
Subject: [PATCH v2 0/1] Add semihosting support in opensbi
Date: Fri,  9 Sep 2022 11:43:02 +0530	[thread overview]
Message-ID: <20220909061303.3378980-1-kconsul@ventanamicro.com> (raw)

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.

CHANGES since v1: 
-	drop patch1
-	use .align in inline assembly

Kautuk Consul (1):
  lib: utils/serial: add semihosting support

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

-- 
2.34.1



             reply	other threads:[~2022-09-09  6:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-09  6:13 Kautuk Consul [this message]
2022-09-09  6:13 ` [PATCH v2 1/1] lib: utils/serial: add semihosting support Kautuk Consul
2022-09-12 10:54   ` Kautuk Consul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220909061303.3378980-1-kconsul@ventanamicro.com \
    --to=kconsul@ventanamicro.com \
    --cc=opensbi@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.