Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4v1G-0000CI-AE for qemu-devel@nongnu.org; Tue, 25 Nov 2008 05:19:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4v1E-0000A4-Qw for qemu-devel@nongnu.org; Tue, 25 Nov 2008 05:19:45 -0500 Received: from [199.232.76.173] (port=43648 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4v1E-00009h-JB for qemu-devel@nongnu.org; Tue, 25 Nov 2008 05:19:44 -0500 Received: from outbound-dub.frontbridge.com ([213.199.154.16]:55009 helo=IE1EHSOBE002.bigfish.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.60) (envelope-from ) id 1L4v1E-0004Sb-Bu for qemu-devel@nongnu.org; Tue, 25 Nov 2008 05:19:44 -0500 From: Christoph Egger Subject: Re: [Qemu-devel] [5778] Use MAP_ANON also for FreeBSD (Juergen Lock) Date: Tue, 25 Nov 2008 12:19:29 +0200 References: <200811241035.06359.Christoph.Egger@amd.com> <20081124.104056.1102529172.imp@bsdimp.com> In-Reply-To: <20081124.104056.1102529172.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-ID: <200811251119.29453.Christoph.Egger@amd.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "M. Warner Losh" Cc: blauwirbel@gmail.com, qemu-devel@nongnu.org On Monday 24 November 2008 18:40:56 M. Warner Losh wrote: > In message: <200811241035.06359.Christoph.Egger@amd.com> > > Christoph Egger writes: > : On Saturday 22 November 2008 21:43:01 Blue Swirl wrote: > : > Revision: 5778 > : > =20 > : > http://svn.sv.gnu.org/viewvc/?view=3Drev&root=3Dqemu&revision=3D5778 = Author:=20 > : > blueswir1 > : > Date: 2008-11-22 20:43:01 +0000 (Sat, 22 Nov 2008) > : > > : > Log Message: > : > ----------- > : > Use MAP_ANON also for FreeBSD (Juergen Lock) > : > : This is for *BSD in general. > : > : > @@ -87,7 +89,8 @@ > : > static int phys_ram_size =3D 0; > : > void *ptr; > : > > : > -#ifdef __OpenBSD__ /* no need (?) for a dummy file on OpenBSD */ > : > +/* no need (?) for a dummy file on OpenBSD/FreeBSD */ > : > +#if defined(__OpenBSD__) || defined(__FreeBSD__) > : > : This should be: > : > : #ifdef _BSD > > What defines _BSD? It is in the compiler's name space, but _BSD isn't=20 > defined by the compiler... config-host.h generated by configure. Christoph =2D-=20 AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Gesch=E4ftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplement=E4r: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Gesch=E4ftsf=FChrer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy