From 38e584a07279fffcfbfcafb207ce842edd093033 Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 10 Aug 2003 22:14:22 +0000 Subject: m68k host port (Richard Zidlicky) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@357 c046a42c-6fe2-441c-8c8c-71466251a162 --- dyngen.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'dyngen.h') diff --git a/dyngen.h b/dyngen.h index 47fe263e4b..cc38228b74 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 +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"); -- cgit v1.2.3