From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iy8ix-0004Xu-M0 for qemu-devel@nongnu.org; Fri, 30 Nov 2007 11:28:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iy8iw-0004Wu-6u for qemu-devel@nongnu.org; Fri, 30 Nov 2007 11:28:19 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iy8iw-0004Wr-1B for qemu-devel@nongnu.org; Fri, 30 Nov 2007 11:28:18 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Iy8iu-0006VG-MK for qemu-devel@nongnu.org; Fri, 30 Nov 2007 11:28:17 -0500 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] sh4: define explicitly that the target CPU is 32 bit Date: Fri, 30 Nov 2007 16:28:09 +0000 References: <20071130162329.GF28369@tapir> In-Reply-To: <20071130162329.GF28369@tapir> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711301628.09857.paul@codesourcery.com> 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 Friday 30 November 2007, Carlo Marcelo Arenas Belon wrote: > The following patch enforces that the sh4 target is 32 bit to prevent qemu > to expand incorrectly to a 64 bit wide cpu if compiled in a 64 bit host. This is wrong. As the comment in cpu-defs.h says, target_phys_addr_t may need to be bigger than the actual target address space. What exactly are you trying to fix? Paul