summaryrefslogtreecommitdiffstats
path: root/target-cris
diff options
context:
space:
mode:
authorpbrook2008-06-08 03:09:01 +0200
committerpbrook2008-06-08 03:09:01 +0200
commite2eef1703b536d42b89f8046faf7adeaa0e42ba1 (patch)
tree17c7d3ee030818ffe17462273096998a9ae5c14a /target-cris
parentDo not scare users with ominous error messages from AUD_open* (diff)
downloadqemu-e2eef1703b536d42b89f8046faf7adeaa0e42ba1.tar.gz
qemu-e2eef1703b536d42b89f8046faf7adeaa0e42ba1.tar.xz
qemu-e2eef1703b536d42b89f8046faf7adeaa0e42ba1.zip
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 21ee5ee1c5..f5c0ed191f 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;