X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=dyngen.h;h=a00ded775ec4825f427ac3d4aaaafbdf49d13ed7;hb=0fa85d43d47151e71e63754e419340bfcff97e80;hp=47fe263e4b9e8ab009d52d361c82227dd88b804f;hpb=9621339dcacc148a86d312d1e71623202c9df7db;p=qemu diff --git a/dyngen.h b/dyngen.h index 47fe263..a00ded7 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) @@ -27,6 +27,12 @@ static inline void flush_icache_range(unsigned long start, unsigned long stop) } #endif +#ifdef __x86_64__ +static inline void flush_icache_range(unsigned long start, unsigned long stop) +{ +} +#endif + #ifdef __s390__ static inline void flush_icache_range(unsigned long start, unsigned long stop) { @@ -94,6 +100,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");