From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzLFz-0004Dc-4w for qemu-devel@nongnu.org; Mon, 01 Jun 2015 04:39:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzLFu-0002Jb-1X for qemu-devel@nongnu.org; Mon, 01 Jun 2015 04:39:39 -0400 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:35489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzLFt-0002JQ-P5 for qemu-devel@nongnu.org; Mon, 01 Jun 2015 04:39:33 -0400 Received: by wgme6 with SMTP id e6so107709469wgm.2 for ; Mon, 01 Jun 2015 01:39:33 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <556C1A3B.4090802@redhat.com> Date: Mon, 01 Jun 2015 10:39:23 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <9a32029ce1393c2b5eddc1d1575624f4f25f3ab9.1433052533.git.crosthwaite.peter@gmail.com> In-Reply-To: <9a32029ce1393c2b5eddc1d1575624f4f25f3ab9.1433052533.git.crosthwaite.peter@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v2 28/34] arm: Remove ELF_MACHINE from cpu.h 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:12, Peter Crosthwaite wrote: > From: Peter Crosthwaite > > The only generic code relying on this is linux-user. Linux user already > has a lot of #ifdef TARGET_ customisation so just define ELF_MACHINE > locally there. > > The armv7m bootloader can just pass EM_ARM directly, as that > is architecture specific code. > > This remove another architecture specific definition from the global > namespace. > > Signed-off-by: Peter Crosthwaite Introduce cpu-user.h, and move TARGET_VIRT_ADDR_SPACE_BITS there too? Paolo