From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KjHiy-0001l7-FB for qemu-devel@nongnu.org; Fri, 26 Sep 2008 14:07:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KjHix-0001kk-V3 for qemu-devel@nongnu.org; Fri, 26 Sep 2008 14:07:28 -0400 Received: from [199.232.76.173] (port=38241 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjHix-0001kZ-Q8 for qemu-devel@nongnu.org; Fri, 26 Sep 2008 14:07:27 -0400 Received: from savannah.gnu.org ([199.232.41.3]:45086 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KjHix-0005BY-EV for qemu-devel@nongnu.org; Fri, 26 Sep 2008 14:07:27 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KjHiv-0006Y5-DJ for qemu-devel@nongnu.org; Fri, 26 Sep 2008 18:07:25 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KjHiv-0006Y1-52 for qemu-devel@nongnu.org; Fri, 26 Sep 2008 18:07:25 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Fri, 26 Sep 2008 18:07:25 +0000 Subject: [Qemu-devel] [5328] Implement some UA2007 block ASIs 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 Revision: 5328 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5328 Author: blueswir1 Date: 2008-09-26 18:07:24 +0000 (Fri, 26 Sep 2008) Log Message: ----------- Implement some UA2007 block ASIs Modified Paths: -------------- trunk/target-sparc/op_helper.c Modified: trunk/target-sparc/op_helper.c =================================================================== --- trunk/target-sparc/op_helper.c 2008-09-26 18:05:23 UTC (rev 5327) +++ trunk/target-sparc/op_helper.c 2008-09-26 18:07:24 UTC (rev 5328) @@ -1499,6 +1499,8 @@ case 0x18: // As if user primary LE case 0x80: // Primary case 0x88: // Primary LE + case 0xe2: // UA2007 Primary block init + case 0xe3: // UA2007 Secondary block init if ((asi & 0x80) && (env->pstate & PS_PRIV)) { if ((env->def->features & CPU_FEATURE_HYPV) && env->hpstate & HS_PRIV) { @@ -1771,6 +1773,8 @@ case 0x18: // As if user primary LE case 0x80: // Primary case 0x88: // Primary LE + case 0xe2: // UA2007 Primary block init + case 0xe3: // UA2007 Secondary block init if ((asi & 0x80) && (env->pstate & PS_PRIV)) { if ((env->def->features & CPU_FEATURE_HYPV) && env->hpstate & HS_PRIV) { @@ -2146,6 +2150,8 @@ helper_check_align(addr, 3); switch (asi) { + case 0xe0: // UA2007 Block commit store primary (cache flush) + case 0xe1: // UA2007 Block commit store secondary (cache flush) case 0xf0: // Block store primary case 0xf1: // Block store secondary case 0xf8: // Block store primary LE