From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NpkAb-0004wL-B1 for qemu-devel@nongnu.org; Thu, 11 Mar 2010 10:19:29 -0500 Received: from [199.232.76.173] (port=53944 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NpkAa-0004vh-RA for qemu-devel@nongnu.org; Thu, 11 Mar 2010 10:19:28 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NpkAa-0002Nd-8y for qemu-devel@nongnu.org; Thu, 11 Mar 2010 10:19:28 -0500 Received: from are.twiddle.net ([75.149.56.221]:58810) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NpkAZ-0002NJ-Sd for qemu-devel@nongnu.org; Thu, 11 Mar 2010 10:19:28 -0500 Message-ID: <4B9909FE.6060804@twiddle.net> Date: Thu, 11 Mar 2010 07:19:26 -0800 From: Richard Henderson MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 1/6] Move TARGET_PHYS_ADDR_SPACE_BITS to target-*/cpu.h. References: <20100311111128.GB17041@hall.aurel32.net> In-Reply-To: <20100311111128.GB17041@hall.aurel32.net> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: qemu-devel@nongnu.org, paul@codesourcery.com On 03/11/2010 03:11 AM, Aurelien Jarno wrote: >> +/* ??? MIPS64 no doubt has a larger address space. */ >> +#define TARGET_PHYS_ADDR_SPACE_BITS 32 >> +#define TARGET_VIRT_ADDR_SPACE_BITS 32 >> + > > In 32-bit mode, TARGET_VIRT_ADDR_SPACE_BITS is 32 bits, and > TARGET_PHYS_ADDR_SPACE_BITS is 36 bits. > > In 64-bit mode, TARGET_VIRT_ADDR_SPACE_BITS is 42 bits, and > TARGET_PHYS_ADDR_SPACE_BITS is 36 bits for the CPUs emulated by QEMU, > though the architecture specification limits those value to respectively > 62 and 59 bits. Thanks. I'll queue that either for a subsequent round or a follow-up patch (since the current tree doesn't use anything but the 32 above). r~