[5328] Implement some UA2007 block ASIs
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
===================================================================
target-sparc/op_helper.c +6 -0
@@ -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