aboutsummaryrefslogtreecommitdiff
path: root/target-cris
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-08 01:09:01 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-06-08 01:09:01 +0000
commite2eef1703b536d42b89f8046faf7adeaa0e42ba1 (patch)
tree17c7d3ee030818ffe17462273096998a9ae5c14a /target-cris
parent2c44375d649910677dd9cdcf170f4dbaafa3f193 (diff)
downloadqemu-e2eef1703b536d42b89f8046faf7adeaa0e42ba1.zip
qemu-e2eef1703b536d42b89f8046faf7adeaa0e42ba1.tar.gz
qemu-e2eef1703b536d42b89f8046faf7adeaa0e42ba1.tar.bz2
Remove dead and bitrotten "qemu-fast" code.
Only build softmmu+MMIO handlers for system emulation. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4695 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-cris')
-rw-r--r--target-cris/op_helper.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/target-cris/op_helper.c b/target-cris/op_helper.c
index 21ee5ee..f5c0ed1 100644
--- a/target-cris/op_helper.c
+++ b/target-cris/op_helper.c
@@ -24,6 +24,10 @@
#include "mmu.h"
#include "helper.h"
+#define D(x)
+
+#if !defined(CONFIG_USER_ONLY)
+
#define MMUSUFFIX _mmu
#define SHIFT 0
@@ -38,8 +42,6 @@
#define SHIFT 3
#include "softmmu_template.h"
-#define D(x)
-
/* Try to fill the TLB and return an exception if error. If retaddr is
NULL, it means that the function was called in C code (i.e. not
from generated code or from helper.c) */
@@ -78,6 +80,8 @@ void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr)
env = saved_env;
}
+#endif
+
void helper_raise_exception(uint32_t index)
{
env->exception_index = index;