qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v4 04/11] ARM: exynos4210: IRQ subsystem support.
Date: Wed, 21 Dec 2011 13:50:05 +0000

On 19 December 2011 11:53, Evgeny Voevodin <address@hidden> wrote:

> +static uint64_t exynos4210_gic_cpu_read(void *opaque, target_phys_addr_t 
> offset,
> +        unsigned size)
> +{
> +    Exynos4210GicState *s = (Exynos4210GicState *) opaque;
> +    DPRINTF_EXYNOS4210_GIC("CPU%d: read offset 0x%x\n",
> +            gic_get_current_cpu(), offset);
> +    return gic_cpu_read(&s->gic, gic_get_current_cpu(), offset & ~0x8000);
> +}

arm_gic.c exposes the CPU and distributor interfaces as their own
memory regions now -- you shouldn't need any of this intermediate
layer of functions.

(Reviewing the rest of this series is on my todo list but I can't
guarantee I'll get to it until after Christmas now.)

-- PMM



reply via email to

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