* [Qemu-devel] [6140] CRIS: Remove CRIS specific do_unassigned_access.
@ 2008-12-29 14:39 Edgar E. Iglesias
0 siblings, 0 replies; only message in thread
From: Edgar E. Iglesias @ 2008-12-29 14:39 UTC (permalink / raw)
To: qemu-devel
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 <edgar.iglesias@gmail.com>
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-29 14:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-29 14:39 [Qemu-devel] [6140] CRIS: Remove CRIS specific do_unassigned_access Edgar E. Iglesias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).