diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-04-29 21:12:28 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-04-29 21:12:28 +0000 |
commit | efdea7bf193bb5f00737022f8a6efeab3e4d5ff4 (patch) | |
tree | 7c9c3297348e9e24642baeb0522588761843f5af /translate-i386.c | |
parent | 0d3301964df6d36c72dfa95ba5ae5e3b789cd1f8 (diff) |
ia64 support - alpha support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@116 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'translate-i386.c')
-rw-r--r-- | translate-i386.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/translate-i386.c b/translate-i386.c index b5894b7873..e23ff67774 100644 --- a/translate-i386.c +++ b/translate-i386.c @@ -53,6 +53,12 @@ static inline void flush_icache_range(unsigned long start, unsigned long stop) } #endif +#ifdef __ia64__ +static inline void flush_icache_range(unsigned long start, unsigned long stop) +{ +} +#endif + #ifdef __powerpc__ #define MIN_CACHE_LINE_SIZE 8 /* conservative value */ @@ -76,6 +82,13 @@ static void inline flush_icache_range(unsigned long start, unsigned long stop) } #endif +#ifdef __alpha__ +static inline void flush_icache_range(unsigned long start, unsigned long stop) +{ + asm ("imb"); +} +#endif + extern FILE *logfile; extern int loglevel; |