From: "Alex Bennée" <alex.bennee@linaro.org>
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, keithp@keithp.com,
"Alex Bennée" <alex.bennee@linaro.org>
Subject: [PATCH v1 0/4] semihosting read console support
Date: Wed, 18 Dec 2019 18:00:25 +0000 [thread overview]
Message-ID: <20191218180029.6744-1-alex.bennee@linaro.org> (raw)
Hi,
This series introduces a new "blocking" console read function for
semihosting and plumbs it in to the ARM semihosting code. The main bit
of work is Keith's patch (with a few tweaks by me). The other
preparatory patches make sure the PC is updated after semihosting
succeeds and a little bit of clean-up.
The following patches need review
01 - target arm remove unused EXCP_SEMIHOST leg
02 - target arm only update pc after semihosting compl
04 - tests tcg add a dumb as bricks semihosting consol
Alex Bennée (3):
target/arm: remove unused EXCP_SEMIHOST leg
target/arm: only update pc after semihosting completes
tests/tcg: add a dumb-as-bricks semihosting console test
Keith Packard (1):
semihosting: add qemu_semihosting_console_inc for SYS_READC
include/hw/semihosting/console.h | 16 +++++
include/hw/semihosting/semihost.h | 4 ++
hw/semihosting/console.c | 78 +++++++++++++++++++++++
linux-user/aarch64/cpu_loop.c | 1 +
linux-user/arm/cpu_loop.c | 1 +
linux-user/arm/semihost.c | 23 +++++++
stubs/semihost.c | 4 ++
target/arm/arm-semi.c | 3 +-
target/arm/helper.c | 8 +--
target/arm/m_helper.c | 1 +
target/arm/translate-a64.c | 2 +-
target/arm/translate.c | 6 +-
tests/tcg/aarch64/system/semiconsole.c | 36 +++++++++++
vl.c | 3 +
tests/tcg/aarch64/Makefile.softmmu-target | 9 ++-
15 files changed, 182 insertions(+), 13 deletions(-)
create mode 100644 tests/tcg/aarch64/system/semiconsole.c
--
2.20.1
next reply other threads:[~2019-12-18 18:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-18 18:00 Alex Bennée [this message]
2019-12-18 18:00 ` [PATCH v1 1/4] target/arm: remove unused EXCP_SEMIHOST leg Alex Bennée
2019-12-18 19:36 ` Richard Henderson
2019-12-18 18:00 ` [PATCH v1 2/4] target/arm: only update pc after semihosting completes Alex Bennée
2019-12-18 19:45 ` Richard Henderson
2019-12-18 18:00 ` [PATCH v1 3/4] semihosting: add qemu_semihosting_console_inc for SYS_READC Alex Bennée
2019-12-18 20:16 ` Richard Henderson
2019-12-19 11:14 ` Alex Bennée
2019-12-18 18:00 ` [PATCH v1 4/4] tests/tcg: add a dumb-as-bricks semihosting console test Alex Bennée
2019-12-18 20:20 ` Richard Henderson
2019-12-18 22:12 ` [PATCH v1 0/4] semihosting read console support Keith Packard
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=20191218180029.6744-1-alex.bennee@linaro.org \
--to=alex.bennee@linaro.org \
--cc=keithp@keithp.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.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 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).