[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v5 2/5] hw/arm/digic: prepare DIGIC-based boards s
From: |
Peter Crosthwaite |
Subject: |
Re: [Qemu-devel] [RFC v5 2/5] hw/arm/digic: prepare DIGIC-based boards support |
Date: |
Thu, 5 Dec 2013 10:20:47 +1000 |
On Thu, Dec 5, 2013 at 7:34 AM, Peter Maydell <address@hidden> wrote:
> On 4 December 2013 21:20, Antony Pavlov <address@hidden> wrote:
>> On Wed, 4 Dec 2013 20:29:05 +0000
>> Peter Maydell <address@hidden> wrote:
>>
>>> On 4 December 2013 20:22, Antony Pavlov <address@hidden> wrote:
>>> > Here is my proposition:
>>> >
>>> > 1. qemu board code setup CPU to start from 0xFFFF0000. (0xffff0000 is a
>>> > ROM address
>>> > on DIGIC chips)
>>>
>>> Sort of. What we need is:
>>> 1a. Add a "hivecs" property to the ARM CPU object (which
>>> just sets env->cp15.c1_sys bit 13)
>>>
>>> (this is about half a dozen lines of code max)
>>>
>>> 1b DIGIC board init code creates the CPU and sets the hivecs property on it
>>>
>>> (another handful of lines of code)
>>
>> Ok, I'll try to make the work at the weekend.
>
> The recent (not yet applied) patchset adding a property for the CBAR
> register value is probably a good model to look at.
>
Is hivecs-on-reset ideally a new ARM_FEATURE or is there a simpler
conditional we can use as post_init time?
Regards,
Peter
> -- PMM
>
[Qemu-devel] [RFC 0/2] ARM: make possible to use high vectors for reset exception, Antony Pavlov, 2013/12/06
Re: [Qemu-devel] [RFC 1/2] ARM: cpu: add "hivecs" property (high vectors on reset), Peter Maydell, 2013/12/06
[Qemu-devel] [RFC 2/2] ARM: arm_cpu_reset: make possible to use high vectors for reset_exc, Antony Pavlov, 2013/12/06