qemu-arm
[Top][All Lists]
Advanced

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

Re: [Qemu-arm] [PATCH v4 14/20] intc/arm_gic: Wire the vCPU interface


From: Peter Maydell
Subject: Re: [Qemu-arm] [PATCH v4 14/20] intc/arm_gic: Wire the vCPU interface
Date: Tue, 17 Jul 2018 15:26:16 +0100

On 14 July 2018 at 18:15, Luc Michel <address@hidden> wrote:
> Add the read/write functions to handle accesses to the vCPU interface.
> Those accesses are forwarded to the real CPU interface, with the CPU id
> being converted to the corresponding vCPU id (vCPU id = CPU id +
> GIC_NCPU).
>
> As for the CPU interface, we create a base region for the vCPU interface
> that fetches the current vCPU id using the current_cpu global variable, and
> one mirror region per vCPU which maps to that specific vCPU id. This is
> required by the GIC architecture specification.

Is it? The spec says the GICH registers need to be accessible
like this, but not the vCPU (GICV) registers...

thanks
-- PMM



reply via email to

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