From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKqiw-00005c-VY for qemu-devel@nongnu.org; Sun, 07 Oct 2012 09:16:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKqiw-0007J4-2w for qemu-devel@nongnu.org; Sun, 07 Oct 2012 09:16:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKqiv-0007J0-Qh for qemu-devel@nongnu.org; Sun, 07 Oct 2012 09:16:50 -0400 Message-ID: <507180B1.5060302@redhat.com> Date: Sun, 07 Oct 2012 15:16:33 +0200 From: Avi Kivity MIME-Version: 1.0 References: <1349346964-4151-1-git-send-email-avi@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] Make target_phys_addr_t 64 bits unconditionally List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Jia Liu , qemu-devel@nongnu.org, Blue Swirl , Max Filippov , Michael Walle , Paul Brook , Anthony Liguori , "Edgar E. Iglesias" , Aurelien Jarno On 10/05/2012 06:45 PM, Peter Maydell wrote: > On 4 October 2012 11:36, Avi Kivity wrote: >> diff --git a/targphys.h b/targphys.h >> index bd4938f..08cade9 100644 >> --- a/targphys.h >> +++ b/targphys.h >> @@ -3,25 +3,10 @@ >> #ifndef TARGPHYS_H >> #define TARGPHYS_H >> >> -#ifdef TARGET_PHYS_ADDR_BITS >> +#define TARGET_PHYS_ADDR_BITS 64 >> /* target_phys_addr_t is the type of a physical address (its size can >> be different from 'target_ulong'). */ > > I've just noticed that this change means that linux-user binaries > now get a definition of target_phys_addr_t (where previously they > did not get that type at all). Was this intentional, No. > and does it make sense? Not much. Not very harmful either. If you want it removed, I can post a patch. -- error compiling committee.c: too many arguments to function