[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 Maydell |
Subject: |
Re: [Qemu-devel] [RFC v5 2/5] hw/arm/digic: prepare DIGIC-based boards support |
Date: |
Wed, 4 Dec 2013 21:34:55 +0000 |
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.
-- 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