qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] target-arm: Extract some external ARM CPU AP


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH v2] target-arm: Extract some external ARM CPU API
Date: Tue, 27 Oct 2015 13:41:51 +0000

On 27 October 2015 at 12:02, Pavel Fedin <address@hidden> wrote:
>> We have plenty of precedent in tree for interrupt controllers being
>> compiled as arch-specific for reasons such as this. Can we just
>> promote GIC to an obj-y (much the same way the KVM GIC or V7MNVIC are
>> promoted)? You should them have access to cpu.h and the CP interface.
>
>  Huh, indeed, it's so simple... I failed to notice this.
>  Peter, what do you think, if we indeed simply move gicv3
> implementation from common-obj-y to obj-y?

I thought that we were trying to reduce the amount of obj-y code
in order to make life easier for multiarch (because eventually
it's going to have to be compile-once anyway). And being obj-y
and having the whole of cpu.h available makes it very easy to
accidentally use target-specific defines and so on.

But Peter C has a better grasp of the current status of
multiarch than I do, so if he prefers using obj-y then
I'm happy to take his recommendation.

thanks
-- PMM



reply via email to

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