[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v2 06/34] cpu-common: Define tb_page_addr_t for ev
From: |
Peter Crosthwaite |
Subject: |
Re: [Qemu-devel] [RFC v2 06/34] cpu-common: Define tb_page_addr_t for everyone |
Date: |
Sun, 7 Jun 2015 16:06:25 -0700 |
On Mon, Jun 1, 2015 at 12:51 AM, Paolo Bonzini <address@hidden> wrote:
>
>
> On 31/05/2015 08:11, Peter Crosthwaite wrote:
>> In system mode emulation (at least) this definition has no architecture
>> specific dependencies. Move it to common code such that common code can
>> use it (primarily for defining function prototypes).
>>
>> Signed-off-by: Peter Crosthwaite <address@hidden>
>
> I suspect you can instead make a header that is included by arch-obj
> files, and move a lot of stuff there from include/exec/exec-all.h (for
> example all the prototypes that use tb_page_addr_t).
>
So the problem was I needed this from cpu-qom which is a common-obj
which is why I went for super-global on this one.
Regards,
Peter
> Paolo
>