[6140] CRIS: Remove CRIS specific do_unassigned_access.
Revision: 6140
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6140 Author: edgar_igl Date: 2008-12-29 14:39:57 +0000 (Mon, 29 Dec 2008)
Log Message:
-----------
CRIS: Remove CRIS specific do_unassigned_access.
Signed-off-by Edgar E. Iglesias <[email protected]>
Modified Paths:
--------------
trunk/exec.c
trunk/target-cris/cpu.h
trunk/target-cris/op_helper.c
Modified: trunk/exec.c
===================================================================
exec.c +6 -6
@@ -2379,7 +2379,7 @@#ifdef DEBUG_UNASSIGNED printf ("Unassigned mem read " TARGET_FMT_plx"\n" , addr);#endif -#if defined(TARGET_SPARC ) || defined(TARGET_CRIS ) +#if defined(TARGET_SPARC )do_unassigned_access (addr,0 ,0 ,0 ,1 );#endif return 0 ;
@@ -2390,7 +2390,7 @@#ifdef DEBUG_UNASSIGNED printf ("Unassigned mem read " TARGET_FMT_plx"\n" , addr);#endif -#if defined(TARGET_SPARC ) || defined(TARGET_CRIS ) +#if defined(TARGET_SPARC )do_unassigned_access (addr,0 ,0 ,0 ,2 );#endif return 0 ;
@@ -2401,7 +2401,7 @@#ifdef DEBUG_UNASSIGNED printf ("Unassigned mem read " TARGET_FMT_plx"\n" , addr);#endif -#if defined(TARGET_SPARC ) || defined(TARGET_CRIS ) +#if defined(TARGET_SPARC )do_unassigned_access (addr,0 ,0 ,0 ,4 );#endif return 0 ;
@@ -2412,7 +2412,7 @@#ifdef DEBUG_UNASSIGNED printf ("Unassigned mem write " TARGET_FMT_plx" = 0x%x\n" , addr, val);#endif -#if defined(TARGET_SPARC ) || defined(TARGET_CRIS ) +#if defined(TARGET_SPARC )do_unassigned_access (addr,1 ,0 ,0 ,1 );#endif }
@@ -2422,7 +2422,7 @@#ifdef DEBUG_UNASSIGNED printf ("Unassigned mem write " TARGET_FMT_plx" = 0x%x\n" , addr, val);#endif -#if defined(TARGET_SPARC ) || defined(TARGET_CRIS ) +#if defined(TARGET_SPARC )do_unassigned_access (addr,1 ,0 ,0 ,2 );#endif }
@@ -2432,7 +2432,7 @@#ifdef DEBUG_UNASSIGNED printf ("Unassigned mem write " TARGET_FMT_plx" = 0x%x\n" , addr, val);#endif -#if defined(TARGET_SPARC ) || defined(TARGET_CRIS ) +#if defined(TARGET_SPARC )do_unassigned_access (addr,1 ,0 ,0 ,4 );#endif }
Modified: trunk/target-cris/cpu.h
===================================================================
target-cris/cpu.h +0 -2
@@ -167,8 +167,6 @@is returned if the signal was handled by the virtual CPU. */ int cpu_cris_signal_handler (int host_signum,void *pinfo,void *puc); -void do_unassigned_access (target_phys_addr_t addr,int is_write,int is_exec, -int is_asi,int size);enum {CC_OP_DYNAMIC ,/* Use env->cc_op */
Modified: trunk/target-cris/op_helper.c
===================================================================
target-cris/op_helper.c +0 -7
@@ -243,13 +243,6 @@ env->pregs[PR_CCS ] |=M_FLAG ; } -void do_unassigned_access (target_phys_addr_t addr,int is_write,int is_exec, -int is_asi,int size) -{ -D (printf ("%s addr=%x w=%d ex=%d asi=%d, size=%d\n" , - __func__, addr, is_write, is_exec, is_asi, size)); -} -static void evaluate_flags_writeback (uint32_t flags) {int x;