From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzL4D-00007B-30 for qemu-devel@nongnu.org; Mon, 01 Jun 2015 04:27:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzL49-0005sJ-FL for qemu-devel@nongnu.org; Mon, 01 Jun 2015 04:27:29 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:36586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzL49-0005ry-7g for qemu-devel@nongnu.org; Mon, 01 Jun 2015 04:27:25 -0400 Received: by wibdq8 with SMTP id dq8so21467882wib.1 for ; Mon, 01 Jun 2015 01:27:24 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <556C1743.9060401@redhat.com> Date: Mon, 01 Jun 2015 10:26:43 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <3d60936501a3a1153ad399b0a5c8c4222f63a8a1.1433052533.git.crosthwaite.peter@gmail.com> In-Reply-To: <3d60936501a3a1153ad399b0a5c8c4222f63a8a1.1433052533.git.crosthwaite.peter@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v2 26/34] core: Introduce multi-arch build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, rth@twiddle.net, edgar.iglesias@gmail.com, afaerber@suse.de, Peter Crosthwaite On 31/05/2015 08:11, Peter Crosthwaite wrote: > diff --git a/target-multi/cpu.h b/target-multi/cpu.h > new file mode 100644 > index 0000000..70a1d6b > --- /dev/null > +++ b/target-multi/cpu.h > @@ -0,0 +1,16 @@ > +#ifndef MULTI_CPU_H > +#define MULTI_CPU_H > + > +#include "config.h" > + > +#define TARGET_LONG_BITS 64 > +#define TARGET_PAGE_BITS 12 /* Thou shalt still use 4k pages only! */ > + > +#define CPUArchState void > + > +#include "exec/target-long.h" > +#include "exec/cpu-all.h" > +#include "exec/exec-all.h" > +#include "qom/cpu.h" > + > +#endif I guess ultimately it could be a goal to change cpu.h inclusions to one or more of these four, which is nice in itself. Paolo