projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PowerPC merge (Jocelyn Mayer)
[qemu]
/
dyngen.h
diff --git
a/dyngen.h
b/dyngen.h
index
47fe263
..
f7f1d3a
100644
(file)
--- a/
dyngen.h
+++ b/
dyngen.h
@@
-19,7
+19,7
@@
*/
int __op_param1, __op_param2, __op_param3;
*/
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)
#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
}
#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");
#ifdef __alpha__
register int gp asm("$29");