All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christopher Covington <cov@codeaurora.org>
To: Leon Alrae <leon.alrae@imgtec.com>
Cc: Christopher Covington <christopher.covington@linaro.org>,
	Liviu Ionescu <ilg@livius.net>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Peter Maydell <peter.maydell@linaro.org>
Subject: Re: [Qemu-devel] [PATCH 3/3] arm: semihosting: Wire up A64 HLT 0xf000
Date: Thu, 23 Apr 2015 13:39:50 -0400	[thread overview]
Message-ID: <55392E66.8020400@codeaurora.org> (raw)
In-Reply-To: <5538D0C2.9080303@imgtec.com>

Hi Leon,

On 04/23/2015 07:00 AM, Leon Alrae wrote:
> 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.

I'm afraid I've not yet had a chance to clean this up, and I'm not sure when
I'll be able to get to it.

Chris

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

  reply	other threads:[~2015-04-23 17:39 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
2015-04-23 17:39     ` Christopher Covington [this message]
  -- 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=55392E66.8020400@codeaurora.org \
    --to=cov@codeaurora.org \
    --cc=christopher.covington@linaro.org \
    --cc=ilg@livius.net \
    --cc=leon.alrae@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 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.