aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
Commit message (Expand)AuthorAgeFilesLines
* gcc: don't build documentationLuka Perkov2013-02-265-0/+115
* gcc: remove support for 4.6.2Luka Perkov2013-02-2618-946/+1
* toolchain: uclibc: fix typo in uclibc common configJonas Gorski2013-02-211-1/+1
* buildroot: allow specifying libc personality for external toolchainsJo-Philipp Wich2013-02-202-1/+12
* toolchain/eglibc: add support for 2.17Florian Fainelli2013-02-073-0/+11
* toolchain/gcc: fix the mips64 linker path to be more musl conformingFlorian Fainelli2013-01-295-15/+15
* toolchain/musl: add parenthesis to the __ARE_4_EQUAL macroFlorian Fainelli2013-01-291-0/+12
* gcc: fix build for MIPS64 targets introduced by musl patchFlorian Fainelli2013-01-075-0/+79
* gcc-linaro-4.6: update to 2012.12Florian Fainelli2013-01-071-2/+2
* gcc-linaro-4.7: update to 2012.12Florian Fainelli2013-01-071-2/+2
* toolchain/musl: simplify musl install stepsFlorian Fainelli2012-12-101-12/+0
* toolchain/musl: update to 0.9.8Florian Fainelli2012-12-106-106/+7
* toolchain/musl: fix typo on configuration symbolFlorian Fainelli2012-12-101-1/+1
* toolchain: use file_copy to install the initial gcc filesJo-Philipp Wich2012-12-021-2/+1
* toolchain: remove duplicate default in bintutils KconfigJo-Philipp Wich2012-12-021-2/+1
* remove support for ubicom32Florian Fainelli2012-11-3017-123768/+3
* gcc/4.5-linaro: backport musl patchFlorian Fainelli2012-11-291-0/+242
* musl: backport an upstream fix for MIPS and termios constantsFlorian Fainelli2012-11-231-0/+99
* musl: disable hardware FPU registers usageFlorian Fainelli2012-11-231-0/+49
* add preliminary support for muslFlorian Fainelli2012-11-2315-3/+1771
* gcc: remove support for 4.7.0Florian Fainelli2012-11-2121-10354/+1
* eglibc/2.16: add missing dl-search-paths patchFlorian Fainelli2012-11-211-0/+14
* gcc: build with HOST_CFLAGSFlorian Fainelli2012-11-191-0/+1
* binutils: remove 2.21Florian Fainelli2012-11-1910-31249/+0
* gcc-4.6-linaro: update to 2012.11Florian Fainelli2012-11-191-2/+2
* gcc-4.7-linaro: update to 2012.11Florian Fainelli2012-11-191-2/+2
* binutils: add support for 2.23.1Florian Fainelli2012-11-196-0/+108
* binutils/2.22: backport an upstream fix for an assertion in the ARM backend.Florian Fainelli2012-11-191-0/+28
* add 3.7-rc6 support (patch 820 still has to be fixed)Imre Kaloz2012-11-181-0/+366
* uClibc: backport a fix for dlsym(RTLD_NEXT, ...) useFlorian Fainelli2012-11-111-0/+26
* build: remove remaining references to TOOLCHAIN_JOBS (thx, Sedat Dilek)Felix Fietkau2012-11-083-3/+3
* eglibc: update to r21110Florian Fainelli2012-10-311-1/+1
* eglibc: do not prompt for the revision, it is supposed to be changed by devel...Felix Fietkau2012-10-311-1/+0
* eglibc: remove versions 2.12-2.14Felix Fietkau2012-10-3112-361/+1
* eglibc: add a fake libintl.h for cross-rpcgen and cross-zic to fix build on m...Felix Fietkau2012-10-313-0/+29
* eglibc: enable parallel buildsFelix Fietkau2012-10-311-1/+2
* eglibc: disable NIS/SUNRPC by default. RPC support is provided by librpcFelix Fietkau2012-10-311-2/+2
* uClibc: backport support for assignment-allocation character %m in sscanfFelix Fietkau2012-10-291-0/+184
* toolchain: enable pthread debug support in uclibcFelix Fietkau2012-10-291-1/+1
* toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PA...Felix Fietkau2012-10-172-1/+3
* gcc: add GCC 4.7.2Florian Fainelli2012-10-1417-1/+9884
* gcc: add GCC 4.6.3Florian Fainelli2012-10-1418-1/+10066
* gcc: update 4.5-linaro to 4.5-2012.03Florian Fainelli2012-10-131-2/+2
* gcc: update 4.7-linaro to 4.7-2012.10Florian Fainelli2012-10-135-471/+3
* gcc: update gcc-4.6-linaro to 4.6-2012.10Florian Fainelli2012-10-133-205/+3
* gdb: update to 7.5-2012.09Florian Fainelli2012-10-132-15/+18
* eglibc: remove duplicate line introduced in r33738Florian Fainelli2012-10-121-1/+0
* gcc: add --with-long-double-128 for SPARC toolchainFlorian Fainelli2012-10-121-0/+1
* add support for eglibc 2.16Florian Fainelli2012-10-126-0/+406
* gcc: backport struct siginfo -> siginfo_t renamingFlorian Fainelli2012-10-124-0/+608
#define PVR_604e 0x00090000 #define PVR_604r 0x000A0000 #define PVR_620 0x00140000 #define PVR_740 0x00080000 #define PVR_750 PVR_740 #define PVR_740P 0x10080000 #define PVR_750P PVR_740P #define PVR_7400 0x000C0000 #define PVR_7410 0x800C0000 #define PVR_7450 0x80000000 #define PVR_8540 0x80200000 #define PVR_8560 0x80200000 /* * For the 8xx processors, all of them report the same PVR family for * the PowerPC core. The various versions of these processors must be * differentiated by the version number in the Communication Processor * Module (CPM). */ #define PVR_821 0x00500000 #define PVR_823 PVR_821 #define PVR_850 PVR_821 #define PVR_860 PVR_821 #define PVR_8240 0x00810100 #define PVR_8245 0x80811014 #define PVR_8260 PVR_8240 /* 64-bit processors */ /* XXX the prefix should be PVR_, we'll do a global sweep to fix it one day */ #define PV_NORTHSTAR 0x0033 #define PV_PULSAR 0x0034 #define PV_POWER4 0x0035 #define PV_ICESTAR 0x0036 #define PV_SSTAR 0x0037 #define PV_POWER4p 0x0038 #define PV_970 0x0039 #define PV_POWER5 0x003A #define PV_POWER5p 0x003B #define PV_970FX 0x003C #define PV_630 0x0040 #define PV_630p 0x0041 #define PV_970MP 0x0044 #define PV_BE 0x0070 #ifndef __ASSEMBLY__ #include <xen/types.h> struct domain; struct vcpu; struct cpu_user_regs; extern int cpu_machinecheck(struct cpu_user_regs *); extern void show_registers(struct cpu_user_regs *); extern unsigned int cpu_extent_order(void); extern unsigned int cpu_default_rma_order_pages(void); extern int cpu_rma_valid(unsigned int log); extern uint cpu_large_page_orders(uint *sizes, uint max); extern void cpu_initialize(int cpuid); extern void cpu_init_vcpu(struct vcpu *); extern int cpu_io_mfn(ulong mfn); extern void save_cpu_sprs(struct vcpu *); extern void load_cpu_sprs(struct vcpu *); extern void flush_segments(void); extern void dump_segments(int valid); #define ARCH_HAS_PREFETCH static inline void prefetch(const void *x) {;} static __inline__ void sync(void) { __asm__ __volatile__ ("sync"); } static __inline__ void isync(void) { __asm__ __volatile__ ("isync"); } static inline ulong mfmsr(void) { ulong msr; __asm__ __volatile__ ("mfmsr %0" : "=&r"(msr)); return msr; } static inline void nop(void) { __asm__ __volatile__ ("nop"); } #define cpu_relax() nop() static inline unsigned int mfpir(void) { unsigned int pir; __asm__ __volatile__ ("mfspr %0, %1" : "=r" (pir): "i"(SPRN_PIR)); return pir; } static inline unsigned int mftbu(void) { unsigned int tbu; __asm__ __volatile__ ("mftbu %0" : "=r" (tbu)); return tbu; } static inline unsigned int mftbl(void) { unsigned int tbl; __asm__ __volatile__ ("mftbl %0" : "=r" (tbl)); return tbl; } static inline unsigned int mfdec(void) { unsigned int tmp; __asm__ __volatile__ ("mfdec %0" : "=r"(tmp)); return tmp; } static inline void mtdec(unsigned int ticks) { __asm__ __volatile__ ("mtdec %0" : : "r" (ticks)); } static inline u32 mfpvr(void) { u32 pvr; asm volatile("mfpvr %0" : "=&r" (pvr)); return pvr; } static inline ulong mfr1(void) { ulong r1; asm volatile("mr %0, 1" : "=&r" (r1)); return r1; } static inline void mtsprg0(ulong val) { __asm__ __volatile__ ("mtspr %0, %1" : : "i"(SPRN_SPRG0), "r"(val)); } static inline ulong mfsprg0(void) { ulong val; __asm__ __volatile__ ("mfspr %0, %1" : "=r"(val) : "i"(SPRN_SPRG0)); return val; } static inline void mtsprg1(ulong val) { __asm__ __volatile__ ("mtspr %0, %1" : : "i"(SPRN_SPRG1), "r"(val)); } static inline ulong mfsprg1(void) { ulong val; __asm__ __volatile__ ("mfspr %0, %1" : "=r"(val) : "i"(SPRN_SPRG1)); return val; } static inline void mtsprg2(ulong val) { __asm__ __volatile__ ("mtspr %0, %1" : : "i"(SPRN_SPRG2), "r"(val)); } static inline ulong mfsprg2(void) { ulong val; __asm__ __volatile__ ("mfspr %0, %1" : "=r"(val) : "i"(SPRN_SPRG2)); return val; } static inline void mtsprg3(ulong val) { __asm__ __volatile__ ("mtspr %0, %1" : : "i"(SPRN_SPRG3), "r"(val)); } static inline ulong mfsprg3(void) { ulong val; __asm__ __volatile__ ("mfspr %0, %1" : "=r"(val) : "i"(SPRN_SPRG3)); return val; } static inline void mtsdr1(ulong val) { __asm__ __volatile__ ("mtsdr1 %0" : : "r"(val)); } static inline ulong mfsdr1(void) { ulong val; __asm__ __volatile__ ("mfsdr1 %0" : "=r"(val)); return val; } static inline void mtdar(ulong val) { __asm__ __volatile__ ("mtspr %0, %1" : : "i"(SPRN_DAR), "r"(val)); } static inline ulong mfdar(void) { ulong val; __asm__ __volatile__ ("mfspr %0, %1" : "=r"(val) : "i"(SPRN_DAR)); return val; } static inline void mtdsisr(ulong val) { __asm__ __volatile__ ("mtspr %0, %1" : : "i"(SPRN_DSISR), "r"(val)); } static inline unsigned mfdsisr(void) { unsigned val; __asm__ __volatile__ ("mfspr %0, %1" : "=r"(val) : "i"(SPRN_DSISR)); return val; } #ifdef CONFIG_MAMBO static inline int on_mambo(void) { return !!(mfmsr() & MSR_MAMBO); } #else /* CONFIG_MAMBO */ static inline int on_mambo(void) { return 0; } #endif #endif /* __ASSEMBLY__ */ #include <asm/powerpc64/processor.h> #endif