On Mon, Jun 1, 2015 at 12:51 AM, Paolo Bonzini <pbonz...@redhat.com> 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 <crosthwaite.pe...@gmail.com> > > 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 >