From: Leon Alrae <leon.alrae@imgtec.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, christopher.covington@linaro.org,
matthew.fortune@imgtec.com, ilg@livius.net
Subject: [Qemu-devel] [PATCH v2 0/2] semihosting: clean up and add --semihosting-config arg
Date: Thu, 7 May 2015 12:49:34 +0100 [thread overview]
Message-ID: <1430999376-16601-1-git-send-email-leon.alrae@imgtec.com> (raw)
Hi,
This patch series adds "arg=" sub-option to --semihosting-config group. It
allows building up a list of input arguments as it can appear multiple
times in the command line. This is a flexible solution for creating
argc/argv for the guest program (needed by UHI semihosting for example).
RFC patch and related discussion was here:
https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg00115.html
It also contains some generic code clean up -- all semihosting related
things were moved to vl.c (where they are actually set) and grouped in
the SemihostingConfig structure. They can be accessed via
include/exec/semihost.h introduced in this patch series.
Since this touches generic semihosting code I'm sending it as a separate
patchset from MIPS-specific UHI semihosting patches.
Regards,
Leon
v2:
* squash clean-up related patches so renaming is not required (these
modifications are relatively simple anyway).
Leon Alrae (2):
semihosting: create SemihostingConfig structure and semihost.h
semihosting: add --semihosting-config arg sub-argument
gdbstub.c | 8 +++---
include/exec/gdbstub.h | 6 ----
include/exec/semihost.h | 56 +++++++++++++++++++++++++++++++++++++
include/sysemu/sysemu.h | 1 -
qemu-options.hx | 8 ++++--
target-arm/helper.c | 7 +++--
target-lm32/helper.c | 3 +-
target-m68k/op_helper.c | 5 ++--
target-xtensa/translate.c | 3 +-
vl.c | 71 +++++++++++++++++++++++++++++++++++++++++------
10 files changed, 137 insertions(+), 31 deletions(-)
create mode 100644 include/exec/semihost.h
next reply other threads:[~2015-05-07 11:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-07 11:49 Leon Alrae [this message]
2015-05-07 11:49 ` [Qemu-devel] [PATCH v2 1/2] semihosting: create SemihostingConfig structure and semihost.h Leon Alrae
2015-05-07 12:40 ` Peter Maydell
2015-05-07 11:49 ` [Qemu-devel] [PATCH v2 2/2] semihosting: add --semihosting-config arg sub-argument Leon Alrae
2015-05-07 13:02 ` Peter Maydell
2015-05-07 16:18 ` Leon Alrae
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=1430999376-16601-1-git-send-email-leon.alrae@imgtec.com \
--to=leon.alrae@imgtec.com \
--cc=christopher.covington@linaro.org \
--cc=ilg@livius.net \
--cc=matthew.fortune@imgtec.com \
--cc=peter.maydell@linaro.org \
--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).