From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmsZD-00018S-Qd for qemu-devel@nongnu.org; Mon, 06 Oct 2008 12:04:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmsZB-00017n-SY for qemu-devel@nongnu.org; Mon, 06 Oct 2008 12:04:15 -0400 Received: from [199.232.76.173] (port=57332 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmsZB-00017h-KX for qemu-devel@nongnu.org; Mon, 06 Oct 2008 12:04:13 -0400 Received: from bart.se.axis.com ([195.60.68.10]:50859) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KmsZB-0002XD-8U for qemu-devel@nongnu.org; Mon, 06 Oct 2008 12:04:13 -0400 Received: from bart.se.axis.com (bart.se.axis.com [127.0.0.1]) by bart.se.axis.com (Postfix) with ESMTP id 2C4EF64127 for ; Mon, 6 Oct 2008 18:04:11 +0200 (CEST) Received: from axis.com (edgar.se.axis.com [10.93.151.1]) by bart.se.axis.com (Postfix) with ESMTP id 15568640B3 for ; Mon, 6 Oct 2008 18:04:11 +0200 (CEST) Date: Mon, 6 Oct 2008 18:04:10 +0200 From: "Edgar E. Iglesias" Subject: Re: [Qemu-devel] [PATCH] sparc: show size for unassigned accesses Message-ID: <20081006160410.GE32110@edgar.se.axis.com> References: <48E430EB.5020202@earthlink.net> <48E9A000.7040808@earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel@nongnu.org On Mon, Oct 06, 2008 at 06:56:14PM +0300, Blue Swirl wrote: > On 10/6/08, Robert Reif wrote: > > Blue Swirl wrote: > > > > > On 10/2/08, Robert Reif wrote: > > > > > > > > > > #ifdef TARGET_SPARC > > > > + do_unassigned_access(addr, 0, 0, 0, 1); > > > > +#elif defined(TARGET_CRIS) > > > > do_unassigned_access(addr, 0, 0, 0); > > > > +#endif > > > > + return 0; > > > > > > > > > > > > > > I think it would be cleaner solution to convert also CRIS and MIPS > > > versions to take the size argument. > > Is this patch OK for CRIS and MIPS too? The extra parameter should not hurt. It doesn't hurt for CRIS. Thanks