From: Richard Henderson <richard.henderson@linaro.org>
To: Pierrick Bouvier <pierrick.bouvier@linaro.org>, qemu-devel@nongnu.org
Cc: "Daniel Henrique Barboza" <dbarboza@ventanamicro.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
qemu-arm@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>,
"Weiwei Li" <liwei1518@gmail.com>,
philmd@linaro.org, "Liu Zhiwei" <zhiwei_liu@linux.alibaba.com>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
qemu-riscv@nongnu.org,
"Alistair Francis" <alistair.francis@wdc.com>
Subject: Re: [PATCH 02/10] semihosting/guestfd: compile once for system/user
Date: Fri, 1 Aug 2025 09:15:21 +1000 [thread overview]
Message-ID: <d2084fe2-fec6-4fba-858b-2c5df5c36e39@linaro.org> (raw)
In-Reply-To: <20250730220621.1142496-3-pierrick.bouvier@linaro.org>
On 7/31/25 08:06, Pierrick Bouvier wrote:
> diff --git a/semihosting/arm-compat-semi.c b/semihosting/arm-compat-semi.c
> index 40dc778529d..33614108094 100644
> --- a/semihosting/arm-compat-semi.c
> +++ b/semihosting/arm-compat-semi.c
> @@ -101,6 +101,13 @@ static int gdb_open_modeflags[12] = {
> GDB_O_RDWR | GDB_O_CREAT | GDB_O_APPEND,
> };
>
> +/*
> + * For ARM semihosting, we have a separate structure for routing
> + * data for the console which is outside the guest fd address space.
> + */
> +GuestFD console_in_gf;
> +GuestFD console_out_gf;
These can now be static.
Otherwise,
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
next prev parent reply other threads:[~2025-07-31 23:15 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-30 22:06 [PATCH 00/10] single-binary: compile once semihosting Pierrick Bouvier
2025-07-30 22:06 ` [PATCH 01/10] semihosting/syscalls: compile once in system and per target for user mode Pierrick Bouvier
2025-07-31 23:13 ` Richard Henderson
2025-08-01 1:42 ` Pierrick Bouvier
2025-07-30 22:06 ` [PATCH 02/10] semihosting/guestfd: compile once for system/user Pierrick Bouvier
2025-07-31 23:15 ` Richard Henderson [this message]
2025-08-01 1:41 ` Pierrick Bouvier
2025-07-30 22:06 ` [PATCH 03/10] semihosting/arm-compat-semi: remove common_semi_sys_exit_extended Pierrick Bouvier
2025-07-31 23:20 ` Richard Henderson
2025-07-30 22:06 ` [PATCH 04/10] target/{arm, riscv}/common-semi-target: eradicate target_ulong Pierrick Bouvier
2025-07-31 23:23 ` [PATCH 04/10] target/{arm,riscv}/common-semi-target: " Richard Henderson
2025-07-30 22:06 ` [PATCH 05/10] include/semihosting/common-semi: extract common_semi API Pierrick Bouvier
2025-07-31 23:28 ` Richard Henderson
2025-07-30 22:06 ` [PATCH 06/10] semihosting/arm-compat-semi: eradicate sizeof(target_ulong) Pierrick Bouvier
2025-07-31 23:28 ` Richard Henderson
2025-07-30 22:06 ` [PATCH 07/10] semihosting/arm-compat-semi: replace target_ulong with uint64_t Pierrick Bouvier
2025-07-31 23:33 ` Richard Henderson
2025-08-01 1:40 ` Pierrick Bouvier
2025-07-30 22:06 ` [PATCH 08/10] semihosting/arm-compat-semi: replace target_long with int64_t Pierrick Bouvier
2025-08-01 1:25 ` Richard Henderson
2025-08-01 1:39 ` Pierrick Bouvier
2025-07-30 22:06 ` [PATCH 09/10] semihosting/arm-compat-semi: remove dependency on cpu.h Pierrick Bouvier
2025-08-01 1:26 ` Richard Henderson
2025-07-30 22:06 ` [PATCH 10/10] semihosting/arm-compat-semi: compile once in system and per target for user mode Pierrick Bouvier
2025-08-01 1:26 ` Richard Henderson
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=d2084fe2-fec6-4fba-858b-2c5df5c36e39@linaro.org \
--to=richard.henderson@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=alistair.francis@wdc.com \
--cc=dbarboza@ventanamicro.com \
--cc=liwei1518@gmail.com \
--cc=palmer@dabbelt.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@linaro.org \
--cc=pierrick.bouvier@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=zhiwei_liu@linux.alibaba.com \
/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).