[prev in list] [next in list] [prev in thread] [next in thread]
List: kvm
Subject: Re: [PATCH 3/3] arm: vectors support
From: Peter Maydell <peter.maydell () linaro ! org>
Date: 2013-12-29 10:21:15
Message-ID: CAFEAcA8szNc-yPLMEKsgMRgF4pfNBFeeroZt4=TEDfJ_Dt+X+A () mail ! gmail ! com
[Download RAW message or body]
On 29 December 2013 06:32, Christoffer Dall <christoffer.dall@linaro.org> wrote:
> On Fri, Dec 13, 2013 at 11:58:06AM +0100, Andrew Jones wrote:
>> + msr cpsr_c, #(UND_MODE | PSR_I_BIT | PSR_F_BIT)
>> + add r4, #S_FRAME_SIZE
>> + mov sp, r4
>> + msr cpsr_c, #(ABT_MODE | PSR_I_BIT | PSR_F_BIT)
>> + add r4, #S_FRAME_SIZE
>> + mov sp, r4
>> + msr cpsr_c, #(IRQ_MODE | PSR_I_BIT | PSR_F_BIT)
>> + add r4, #S_FRAME_SIZE
>> + mov sp, r4
>> + msr cpsr_c, #(FIQ_MODE | PSR_I_BIT | PSR_F_BIT)
>> + add r4, #S_FRAME_SIZE
>> + mov sp, r4
>> + msr cpsr_cxsf, r3 @ back to svc mode
>> + mov pc, lr
>> +
>
> I would have loved to use the 'msr SP_<mode>, rX' and related
> instructions for this, but QEMU doesn't seem to support this yet, so it
> makes sense.
QEMU doesn't implement those because they are present
in ARMv7VE (ie v7 + virtualization extensions) only, and
we don't emulate the virt extensions.
thanks
-- PMM
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic