[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 0/4] semihosting read console support
From: |
Alex Bennée |
Subject: |
[PATCH v1 0/4] semihosting read console support |
Date: |
Wed, 18 Dec 2019 18:00:25 +0000 |
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
- [PATCH v1 0/4] semihosting read console support,
Alex Bennée <=
- [PATCH v1 1/4] target/arm: remove unused EXCP_SEMIHOST leg, Alex Bennée, 2019/12/18
- [PATCH v1 2/4] target/arm: only update pc after semihosting completes, Alex Bennée, 2019/12/18
- [PATCH v1 3/4] semihosting: add qemu_semihosting_console_inc for SYS_READC, Alex Bennée, 2019/12/18
- [PATCH v1 4/4] tests/tcg: add a dumb-as-bricks semihosting console test, Alex Bennée, 2019/12/18
- Re: [PATCH v1 0/4] semihosting read console support, Keith Packard, 2019/12/18