From: Leon Alrae <leon.alrae@imgtec.com>
To: Christopher Covington <christopher.covington@linaro.org>
Cc: Peter Maydell <peter.maydell@linaro.org>,
QEMU Developers <qemu-devel@nongnu.org>,
Liviu Ionescu <ilg@livius.net>
Subject: Re: [Qemu-devel] [PATCH 3/3] arm: semihosting: Wire up A64 HLT 0xf000
Date: Thu, 23 Apr 2015 12:00:18 +0100 [thread overview]
Message-ID: <5538D0C2.9080303@imgtec.com> (raw)
In-Reply-To: <CAFEAcA88ZgVA+RNjtWRDWbv5XV0Wbk41t102ORyGJR+1-Q9rqA@mail.gmail.com>
Hi Christopher,
On 09/04/2015 18:57, Peter Maydell wrote:
> On 9 April 2015 at 18:23, Christopher Covington
> <christopher.covington@linaro.org> wrote:
>> On Fri, Mar 27, 2015 at 12:40 PM, Peter Maydell
>> <peter.maydell@linaro.org> wrote:
>>> You need to have the semihosting_enabled check here rather
>>> than in the do_interrupt code, because otherwise we won't
>>> behave correctly in the disabled case.
>>
>> Do you have suggestions for getting semihosting_enabled defined in
>> translate-a64.c? I'm likely doing something dumb, but while #include
>> "sysemu/sysemu.h" at first seemed like the obvious approach, and
>> appears to work for -softmmu, I'm getting errors with that when
>> building -linux-user.
>
> sysemu.h is an ugly grab-bag of things that are specific to the
> system emulator config. Semihosting is always enabled for linux-user,
> so it doesn't have an equivalent switch.
>
> Let's clean this up a bit, by creating a new include/exec/semihost.h,
Do you happen to have this clean up available somewhere? I just want to
make sure I'm not duplicating the work as my patches will touch the same
area.
Thanks,
Leon
next prev parent reply other threads:[~2015-04-23 11:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-09 17:23 [Qemu-devel] [PATCH 3/3] arm: semihosting: Wire up A64 HLT 0xf000 Christopher Covington
2015-04-09 17:57 ` Peter Maydell
2015-04-10 15:47 ` Christopher Covington
2015-04-10 15:52 ` Peter Maydell
2015-04-23 11:00 ` Leon Alrae [this message]
2015-04-23 17:39 ` Christopher Covington
-- strict thread matches above, loose matches on Subject: below --
2015-03-27 16:22 [Qemu-devel] arm: semihosting: Preliminary AArch64 support Christopher Covington
2015-03-27 16:22 ` [Qemu-devel] [PATCH 3/3] arm: semihosting: Wire up A64 HLT 0xf000 Christopher Covington
2015-03-27 16:40 ` Peter Maydell
2015-03-28 12:27 ` Christopher Covington
2015-03-31 11:22 ` Peter Maydell
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=5538D0C2.9080303@imgtec.com \
--to=leon.alrae@imgtec.com \
--cc=christopher.covington@linaro.org \
--cc=ilg@livius.net \
--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 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.