qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Better Cortex-M support?


From: Peter Maydell
Subject: Re: [Qemu-devel] Better Cortex-M support?
Date: Tue, 28 Oct 2014 12:57:18 +0000

On 28 October 2014 12:52, Liviu Ionescu <address@hidden> wrote:
>
> On 28 Oct 2014, at 14:45, Peter Maydell <address@hidden> wrote:
>
>>> qemu: Unsupported SemiHosting SWI 0x00
>>> R00=00000000 R01=00000000 R02=00000000 R03=00000000
>>> R04=00000000 R05=00000000 R06=00000000 R07=200ffed8
>>> R08=00000000 R09=00000000 R10=00000000 R11=00000000
>>> R12=00000000 R13=200ffed8 R14=000022c5 R15=0000157c
>>> PSR=60000173 -ZC- T svc32
>>> Abort trap: 6
>>
>> What code sequence and which semihosting function are
>> you trying to use here?
>
> I guess it is:
>
>       call_host (SEMIHOSTING_SYS_WRITE0, (void*) buf);
>
> where SEMIHOSTING_SYS_WRITE0 = 0x04.

Can you give the disassembly of the actual code making
the semihosting request, please? As you can see we seem
to have interpreted this as a semihosting function zero,
not 4, but it's hard to see why without seeing what the
assembly instructions are that your code is executing.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]