All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] arm: semihosting: Preliminary AArch64 support
@ 2015-03-27 16:22 Christopher Covington
  2015-03-27 16:22 ` [Qemu-devel] [PATCH 1/3] arm: semihosting: Improve debug prints Christopher Covington
                   ` (3 more replies)
  0 siblings, 4 replies; 22+ messages in thread
From: Christopher Covington @ 2015-03-27 16:22 UTC (permalink / raw)
  To: qemu-devel, Peter Maydell; +Cc: Liviu Ionescu


Hi,

Here are a few patches preparing for and adding AArch64 Angel
semihosting support. I've been testing them with some simple tests from
the following repository. This series only adds support for exit, but
support for the rest of the calls will hopefully follow shortly.

http://git.linaro.org/people/christopher.covington/angel-semihosting.git

Thanks,
Chris

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [Qemu-devel] [PATCH 3/3] arm: semihosting: Wire up A64 HLT 0xf000
@ 2015-04-09 17:23 Christopher Covington
  2015-04-09 17:57 ` Peter Maydell
  0 siblings, 1 reply; 22+ messages in thread
From: Christopher Covington @ 2015-04-09 17:23 UTC (permalink / raw)
  To: Peter Maydell; +Cc: Liviu Ionescu, QEMU Developers

Hi Peter,

On Fri, Mar 27, 2015 at 12:40 PM, Peter Maydell
<peter.maydell@linaro.org> wrote:

>> diff --git a/target-arm/translate-a64.c b/target-arm/translate-a64.c
>> index 0b192a1..3b5b875 100644
>> --- a/target-arm/translate-a64.c
>> +++ b/target-arm/translate-a64.c
>> @@ -1544,7 +1544,11 @@ static void disas_exc(DisasContext *s, uint32_t insn)
>>              break;
>>          }
>>          /* HLT */
>> -        unsupported_encoding(s, insn);
>> +        if (imm16 == 0xf000) {
>
> 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.

Thanks,
Chris

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2015-04-23 17:39 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-27 16:22 [Qemu-devel] arm: semihosting: Preliminary AArch64 support Christopher Covington
2015-03-27 16:22 ` [Qemu-devel] [PATCH 1/3] arm: semihosting: Improve debug prints Christopher Covington
2015-03-27 16:25   ` Peter Maydell
2015-03-27 16:22 ` [Qemu-devel] [PATCH 2/3] arm: semihosting: Create unsupported call function Christopher Covington
2015-03-27 16:41   ` Peter Maydell
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
2015-03-27 16:57 ` [Qemu-devel] arm: semihosting: Preliminary AArch64 support Liviu Ionescu
2015-03-27 17:05   ` Peter Maydell
2015-03-27 17:15     ` Leon Alrae
2015-03-27 17:21       ` Peter Maydell
2015-03-27 17:33       ` Liviu Ionescu
2015-03-30 11:44         ` Leon Alrae
2015-03-30 12:27           ` Liviu Ionescu
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 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.