/[qemu]/qemu/exec-all.h
ViewVC logotype

Diff of /qemu/exec-all.h

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

revision 1.29 by bellard, Sun Mar 20 12:43:28 2005 UTC revision 1.30 by bellard, Thu Apr 7 22:20:28 2005 UTC
# Line 126  int tlb_set_page(CPUState *env, target_u Line 126  int tlb_set_page(CPUState *env, target_u
126    
127  #if defined(__alpha__)  #if defined(__alpha__)
128  #define CODE_GEN_BUFFER_SIZE     (2 * 1024 * 1024)  #define CODE_GEN_BUFFER_SIZE     (2 * 1024 * 1024)
129    #elif defined(__ia64)
130    #define CODE_GEN_BUFFER_SIZE     (4 * 1024 * 1024)      /* range of addl */
131  #elif defined(__powerpc__)  #elif defined(__powerpc__)
132  #define CODE_GEN_BUFFER_SIZE     (6 * 1024 * 1024)  #define CODE_GEN_BUFFER_SIZE     (6 * 1024 * 1024)
133  #else  #else
# Line 487  static inline int testandset (int *p) Line 489  static inline int testandset (int *p)
489  }  }
490  #endif  #endif
491    
492    #ifdef __ia64
493    #include <ia64intrin.h>
494    
495    static inline int testandset (int *p)
496    {
497        return __sync_lock_test_and_set (p, 1);
498    }
499    #endif
500    
501  typedef int spinlock_t;  typedef int spinlock_t;
502    
503  #define SPIN_LOCK_UNLOCKED 0  #define SPIN_LOCK_UNLOCKED 0

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

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