Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I2v7m-0008Rk-N8 for qemu-devel@nongnu.org; Mon, 25 Jun 2007 16:25:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I2v7k-0008RV-91 for qemu-devel@nongnu.org; Mon, 25 Jun 2007 16:25:25 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2v7k-0008RS-5g for qemu-devel@nongnu.org; Mon, 25 Jun 2007 16:25:24 -0400 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1I2v7j-0001PS-Kx for qemu-devel@nongnu.org; Mon, 25 Jun 2007 16:25:23 -0400 From: Michal Schulz Subject: Re: [Qemu-devel] [PATCH, RFC] More than 2G of memory on 64-bit hosts Date: Mon, 25 Jun 2007 22:26:50 +0200 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200706252226.50773.michal.schulz@gmx.de> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Monday 25 June 2007, Blue Swirl wrote: > This patch removes the restriction of 2G ram size on 64-bit hosts. > Theoretically Sparc32 on a SS-10 like machine could handle more than > 62GB of memory. > > There seems to be problems in the boot BIOSes to manage even >2G > memory sizes, I've found some in OpenBIOS but there are still many > left. > > Any comments? One from me, if you like... Just don't use the "unsigned long" type. The=20 intptr_t type would be better (it's 32-bit on 32-bit systems and 64-bit on= =20 64-bit systems). My 0,02=A4. =2D-=20 Michal Schulz