aboutsummaryrefslogtreecommitdiff
path: root/dyngen.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-08-10 22:14:22 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-08-10 22:14:22 +0000
commit38e584a07279fffcfbfcafb207ce842edd093033 (patch)
tree574d309b088a86987dd8bab48844d71996fdb76e /dyngen.h
parent313aa567104a63fbe84d6ec2eeff5b5c81cb3524 (diff)
downloadqemu-38e584a07279fffcfbfcafb207ce842edd093033.zip
qemu-38e584a07279fffcfbfcafb207ce842edd093033.tar.gz
qemu-38e584a07279fffcfbfcafb207ce842edd093033.tar.bz2
m68k host port (Richard Zidlicky)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@357 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen.h')
-rw-r--r--dyngen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/dyngen.h b/dyngen.h
index 47fe263..cc38228 100644
--- a/dyngen.h
+++ b/dyngen.h
@@ -94,6 +94,14 @@ static inline void flush_icache_range(unsigned long start, unsigned long stop)
}
#endif
+#ifdef __mc68000
+#include <asm/cachectl.h>
+static inline void flush_icache_range(unsigned long start, unsigned long stop)
+{
+ cacheflush(start,FLUSH_SCOPE_LINE,FLUSH_CACHE_BOTH,stop-start+16);
+}
+#endif
+
#ifdef __alpha__
register int gp asm("$29");