[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [6140] CRIS: Remove CRIS specific do_unassigned_access.
From: |
Edgar E. Iglesias |
Subject: |
[Qemu-devel] [6140] CRIS: Remove CRIS specific do_unassigned_access. |
Date: |
Mon, 29 Dec 2008 14:39:58 +0000 |
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 <address@hidden>
Modified Paths:
--------------
trunk/exec.c
trunk/target-cris/cpu.h
trunk/target-cris/op_helper.c
Modified: trunk/exec.c
===================================================================
--- trunk/exec.c 2008-12-29 09:47:11 UTC (rev 6139)
+++ trunk/exec.c 2008-12-29 14:39:57 UTC (rev 6140)
@@ -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
===================================================================
--- trunk/target-cris/cpu.h 2008-12-29 09:47:11 UTC (rev 6139)
+++ trunk/target-cris/cpu.h 2008-12-29 14:39:57 UTC (rev 6140)
@@ -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
===================================================================
--- trunk/target-cris/op_helper.c 2008-12-29 09:47:11 UTC (rev 6139)
+++ trunk/target-cris/op_helper.c 2008-12-29 14:39:57 UTC (rev 6140)
@@ -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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [6140] CRIS: Remove CRIS specific do_unassigned_access.,
Edgar E. Iglesias <=