From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J1StK-0008PU-Bc for qemu-devel@nongnu.org; Sun, 09 Dec 2007 15:36:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J1StH-0008OT-S1 for qemu-devel@nongnu.org; Sun, 09 Dec 2007 15:36:45 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J1StH-0008OF-Cl for qemu-devel@nongnu.org; Sun, 09 Dec 2007 15:36:43 -0500 Received: from pop-savannah.atl.sa.earthlink.net ([207.69.195.69]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J1StG-0007mA-S8 for qemu-devel@nongnu.org; Sun, 09 Dec 2007 15:36:43 -0500 Received: from user-142h2k8.cable.mindspring.com ([72.40.138.136] helo=earthlink.net) by pop-savannah.atl.sa.earthlink.net with esmtp (Exim 3.36 #1) id 1J1StE-0004H5-00 for qemu-devel@nongnu.org; Sun, 09 Dec 2007 15:36:40 -0500 Message-ID: <475C5217.2060509@earthlink.net> Date: Sun, 09 Dec 2007 15:37:43 -0500 From: Robert Reif MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080506030206000107020603" Subject: [Qemu-devel] [PATCH] sparc32 add a few more ASI 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 This is a multi-part message in MIME format. --------------080506030206000107020603 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit --------------080506030206000107020603 Content-Type: text/plain; name="asi.diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="asi.diff.txt" diff -p -u -r1.60 op_helper.c --- target-sparc/op_helper.c 28 Nov 2007 18:08:28 -0000 1.60 +++ target-sparc/op_helper.c 9 Dec 2007 20:33:02 -0000 @@ -411,6 +411,9 @@ void helper_ld_asi(int asi, int size, in break; } break; + case 0x39: /* data cache diagnostic register */ + ret = 0; + break; case 0x21 ... 0x2d: /* MMU passthrough, unassigned */ default: do_unassigned_access(T0, 0, 0, 1); @@ -703,9 +706,13 @@ void helper_st_asi(int asi, int size) } } return; - case 0x31: /* Ross RT620 I-cache flush */ + case 0x30: /* store buffer tags */ + case 0x31: /* store buffer data or Ross RT620 I-cache flush */ + case 0x32: /* store buffer control */ case 0x36: /* I-cache flash clear */ case 0x37: /* D-cache flash clear */ + case 0x38: /* breakpoint diagnostics */ + case 0x4c: /* breakpoint action */ break; case 9: /* Supervisor code access, XXX */ case 0x21 ... 0x2d: /* MMU passthrough, unassigned */ --------------080506030206000107020603--