X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=dyngen.h;h=f7f1d3aabb5dc33fd6c05626f76a497282e4d0f5;hb=985a19d6d1d7ab3705bf42698cc95abfbbfa24f8;hp=47fe263e4b9e8ab009d52d361c82227dd88b804f;hpb=9621339dcacc148a86d312d1e71623202c9df7db;p=qemu diff --git a/dyngen.h b/dyngen.h index 47fe263..f7f1d3a 100644 --- a/dyngen.h +++ b/dyngen.h @@ -19,7 +19,7 @@ */ int __op_param1, __op_param2, __op_param3; -int __op_jmp0, __op_jmp1; +int __op_jmp0, __op_jmp1, __op_jmp2, __op_jmp3; #ifdef __i386__ static inline void flush_icache_range(unsigned long start, unsigned long stop) @@ -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");