diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-05 19:23:11 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-05-05 19:23:11 +0000 |
commit | c4b89d18ba3b494545266970fe8714bc3d7f5917 (patch) | |
tree | 85543844ae6a8c7f7e7b3dd73d804a9c8161c835 /dyngen.h | |
parent | 26ea091859c76d5e1b8a95148aa60b59dc8ee196 (diff) |
Some bits of Linux/MIPS host support, still segfaulty.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2771 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen.h')
-rw-r--r-- | dyngen.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -463,3 +463,11 @@ static inline void ia64_apply_fixes (uint8_t **gen_code_pp, } #endif + +#ifdef __mips__ +#include <sys/cachectl.h> +static inline void flush_icache_range(unsigned long start, unsigned long stop) +{ + _flush_cache ((void *)start, stop - start, BCACHE); +} +#endif |