/[qemu]/qemu/translate-i386.c
ViewVC logotype

Diff of /qemu/translate-i386.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.39 by bellard, Thu May 29 20:04:28 2003 UTC revision 1.40 by bellard, Mon Jun 9 15:26:18 2003 UTC
# Line 104  static void inline flush_icache_range(un Line 104  static void inline flush_icache_range(un
104    
105  #endif  #endif
106    
107    #ifdef __arm__
108    static inline void flush_icache_range(unsigned long start, unsigned long stop)
109    {
110        register unsigned long _beg __asm ("a1") = start;
111        register unsigned long _end __asm ("a2") = stop;
112        register unsigned long _flg __asm ("a3") = 0;
113        __asm __volatile__ ("swi 0x9f0002" : : "r" (_beg), "r" (_end), "r" (_flg));
114    }
115    #endif
116    
117  extern FILE *logfile;  extern FILE *logfile;
118  extern int loglevel;  extern int loglevel;
119    
# Line 166  enum { Line 176  enum {
176      NB_OPS,      NB_OPS,
177  };  };
178    
179    #include "dyngen.h"
180  #include "op-i386.h"  #include "op-i386.h"
181    
182  /* operand size */  /* operand size */

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26