00001
00038 #ifndef COMPILER_SPARSE_H_INCLUDED
00039 #define COMPILER_SPARSE_H_INCLUDED
00040
00041
00042 #include <compiler/gcc.h>
00043
00044 #define __bitwise __attribute__((bitwise))
00045 #define __virtual
00046 #define __physical __attribute__((noderef, address_space(1)))
00047 #define __force __attribute__((force))
00048
00049
00050
00051
00052
00053 unsigned short __builtin_bswap_16(unsigned short x);
00054 unsigned long __builtin_bswap_32(unsigned long x);
00055 unsigned int __builtin_clz(unsigned int x);
00056 unsigned long __builtin_mfsr(unsigned long addr);
00057 void __builtin_mtsr(unsigned long addr, unsigned long value);
00058 void __builtin_tlbw(void);
00059 void __builtin_cache(void *addr, int op);
00060 void __builtin_sync(unsigned int unused);
00061
00062 #endif