[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V3 3/4] Implement the FreeSCALE i.MX31 advanced
From: |
Peter Chubb |
Subject: |
Re: [Qemu-devel] [PATCH V3 3/4] Implement the FreeSCALE i.MX31 advanced vectored interrupt controller, at least to the extent it is used by Linux 3.0.x |
Date: |
Tue, 06 Dec 2011 12:05:57 +1100 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
>>>>> "Peter" == Peter Maydell <address@hidden> writes:
Peter> On 30 November 2011 03:36, Peter Chubb
Peter> <address@hidden> wrote:
>> Signed-off-by: Hans Jang <address@hidden> Signed-off-by: Adam
>> Clench <address@hidden> Signed-off-by: Peter Chubb
>> <address@hidden>
>> ---
>> Makefile.target | 2 hw/imx_avic.c | 378
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files
>> changed, 379 insertions(+), 1 deletion(-) create mode 100644
>> hw/imx_avic.c
>>
>> Index: qemu-working/hw/imx_avic.c
>> ===================================================================
>> --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++
>> qemu-working/hw/imx_avic.c 2011-11-30 13:38:27.070791665 +1100 @@
>> -0,0 +1,378 @@ +/* + * IMX31 Vectored Interrupt Controller + * + *
>> Note this is NOT the PL192 provided by ARM, but + * a custom
>> implementation by FreeScale. + * + * Copyright (c) 2008 OKL + *
>> Copyright (c) 2011 NICTA Pty Ltd + * Originally Written by Hans
>> Jiang + * + * This code is licenced under the GPL version 2 or
>> later. See + * the COPYING file in the top-level directory. + * +
>> * TODO: implement vectors and priorities.
Peter> Vectors are harder (they require support from the target-arm
Peter> core implementation which isn't there) but I think you should
Peter> implement priorities. That should be purely internal to this
Peter> device, and it would be good not to have yet another interrupt
Peter> controller in the tree which doesn't get interrupt priorities
Peter> right (the NVIC being our other).
OK, I've implemented them, but have no way to test them (because Linux
doesn't use them!)
Peter C