Changes in / [402a18f:ff62c6d] in mainline
- Files:
-
- 1 added
- 9 deleted
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/loader/Makefile
r402a18f rff62c6d 40 40 BFD_ARCH = arm 41 41 TARGET = arm-linux-gnu 42 TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm /bin42 TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm32/bin 43 43 44 44 ifeq ($(COMPILER),gcc_native) -
boot/arch/mips32/loader/Makefile
r402a18f rff62c6d 39 39 BFD_ARCH = mips 40 40 TARGET = mipsel-linux-gnu 41 TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips el/bin41 TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips32/bin 42 42 43 43 ifeq ($(MACHINE),lgxemul) … … 48 48 BFD_NAME = elf32-tradbigmips 49 49 BFD = ecoff-bigmips 50 TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips /bin50 TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips32eb/bin 51 51 TARGET = mips-linux-gnu 52 52 endif -
boot/arch/ppc32/loader/Makefile
r402a18f rff62c6d 40 40 BFD_ARCH = powerpc:common 41 41 TARGET = ppc-linux-gnu 42 TOOLCHAIN_DIR = $(CROSS_PREFIX)/ppc /bin42 TOOLCHAIN_DIR = $(CROSS_PREFIX)/ppc32/bin 43 43 44 44 ifeq ($(COMPILER),gcc_native) -
kernel/arch/arm32/Makefile.inc
r402a18f rff62c6d 34 34 BFD = binary 35 35 TARGET = arm-linux-gnu 36 TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm 36 TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm32 37 37 38 38 ATSIGN = % -
kernel/arch/ia32/Makefile.inc
r402a18f rff62c6d 34 34 BFD = binary 35 35 TARGET = i686-pc-linux-gnu 36 TOOLCHAIN_DIR = $(CROSS_PREFIX)/i 68636 TOOLCHAIN_DIR = $(CROSS_PREFIX)/ia32 37 37 38 38 BITS = 32 -
kernel/arch/ia32/include/asm.h
r402a18f rff62c6d 392 392 asm volatile ( 393 393 "sgdtl %[gdtr_reg]\n" 394 : : [gdtr_reg] "m" (*gdtr_reg)394 : [gdtr_reg] "=m" (*gdtr_reg) 395 395 ); 396 396 } -
kernel/arch/ia64/include/faddr.h
r402a18f rff62c6d 27 27 */ 28 28 29 /** @addtogroup ia64 29 /** @addtogroup ia64 30 30 * @{ 31 31 */ … … 38 38 #include <arch/types.h> 39 39 40 /** 40 /** 41 41 * 42 42 * Calculate absolute address of function 43 43 * referenced by fptr pointer. 44 44 * 45 * @param f Function pointer.45 * @param fptr Function pointer. 46 46 * 47 47 */ 48 #define FADDR(f ) (*((uintptr_t *)(f)));48 #define FADDR(fptr) (((fncptr_t *) (fptr))->fnc) 49 49 50 50 #endif -
kernel/arch/ia64/include/types.h
r402a18f rff62c6d 67 67 unative_t fnc; 68 68 unative_t gp; 69 } fncptr_t;69 } __attribute__((may_alias)) fncptr_t; 70 70 71 71 #define PRIp "lx" /**< Format for uintptr_t. */ -
kernel/arch/ia64/src/cpu/cpu.c
r402a18f rff62c6d 54 54 char vendor[2 * sizeof(uint64_t) + 1]; 55 55 56 *((uint64_t *) &vendor[0 * sizeof(uint64_t)]) = CPU->arch.cpuid0;57 *((uint64_t *) &vendor[1 * sizeof(uint64_t)]) = CPU->arch.cpuid1;56 memcpy(vendor, &CPU->arch.cpuid0, 8); 57 memcpy(vendor + 8, &CPU->arch.cpuid1, 8); 58 58 vendor[sizeof(vendor) - 1] = 0; 59 59 60 switch (m->arch.cpuid3.family) {60 switch (m->arch.cpuid3.family) { 61 61 case FAMILY_ITANIUM: 62 62 family_str = "Itanium"; -
kernel/arch/mips32/Makefile.inc
r402a18f rff62c6d 33 33 BFD = binary 34 34 TARGET = mipsel-linux-gnu 35 TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips el35 TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips32 36 36 37 37 GCC_CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 … … 48 48 ifeq ($(MACHINE),bgxemul) 49 49 BFD_NAME = elf32-tradbigmips 50 TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips 50 TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips32eb 51 51 TARGET = mips-linux-gnu 52 52 ENDIANESS = BE -
kernel/arch/ppc32/Makefile.inc
r402a18f rff62c6d 34 34 BFD = binary 35 35 TARGET = ppc-linux-gnu 36 TOOLCHAIN_DIR = $(CROSS_PREFIX)/ppc 36 TOOLCHAIN_DIR = $(CROSS_PREFIX)/ppc32 37 37 38 38 GCC_CFLAGS += -mcpu=powerpc -msoft-float -m32 -
kernel/genarch/src/acpi/acpi.c
r402a18f rff62c6d 46 46 #define RSDP_REVISION_OFFS 15 47 47 48 #define CMP_SIGNATURE(left, right) \ 49 (((left)[0] == (right)[0]) && \ 50 ((left)[1] == (right)[1]) && \ 51 ((left)[2] == (right)[2]) && \ 52 ((left)[3] == (right)[3])) 53 48 54 struct acpi_rsdp *acpi_rsdp = NULL; 49 55 struct acpi_rsdt *acpi_rsdt = NULL; … … 105 111 struct acpi_sdt_header *h = (struct acpi_sdt_header *) (unative_t) acpi_rsdt->entry[i]; 106 112 107 map_sdt(h); 108 if ( *((uint32_t *) &h->signature[0]) == *((uint32_t *) &signature_map[j].signature[0])) {113 map_sdt(h); 114 if (CMP_SIGNATURE(h->signature, signature_map[j].signature)) { 109 115 if (!acpi_sdt_check((uint8_t *) h)) 110 116 goto next; … … 127 133 128 134 map_sdt(h); 129 if ( *((uint32_t *) &h->signature[0]) == *((uint32_t *) &signature_map[j].signature[0])) {135 if (CMP_SIGNATURE(h->signature, signature_map[j].signature)) { 130 136 if (!acpi_sdt_check((uint8_t *) h)) 131 137 goto next; -
kernel/generic/src/ddi/ddi.c
r402a18f rff62c6d 276 276 unative_t sys_preempt_control(int enable) 277 277 { 278 if (! cap_get(TASK) & CAP_PREEMPT_CONTROL)278 if (!(cap_get(TASK) & CAP_PREEMPT_CONTROL)) 279 279 return EPERM; 280 280 -
uspace/lib/libc/arch/arm32/Makefile.inc
r402a18f rff62c6d 32 32 33 33 TARGET = arm-linux-gnu 34 TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm /bin34 TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm32/bin 35 35 36 36 ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \ -
uspace/lib/libc/arch/ia32/Makefile.inc
r402a18f rff62c6d 31 31 32 32 TARGET = i686-pc-linux-gnu 33 TOOLCHAIN_DIR = $(CROSS_PREFIX)/i 686/bin33 TOOLCHAIN_DIR = $(CROSS_PREFIX)/ia32/bin 34 34 35 35 ARCH_SOURCES += arch/$(UARCH)/src/syscall.S \ -
uspace/lib/libc/arch/mips32/Makefile.inc
r402a18f rff62c6d 31 31 32 32 TARGET = mipsel-linux-gnu 33 TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips el/bin33 TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips32/bin 34 34 35 35 ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \ -
uspace/lib/libc/arch/mips32eb/Makefile.inc
r402a18f rff62c6d 31 31 32 32 TARGET = mips-linux-gnu 33 TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips /bin33 TOOLCHAIN_DIR = $(CROSS_PREFIX)/mips32eb/bin 34 34 35 35 ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \ -
uspace/lib/libc/arch/ppc32/Makefile.inc
r402a18f rff62c6d 31 31 32 32 TARGET = ppc-linux-gnu 33 TOOLCHAIN_DIR = $(CROSS_PREFIX)/ppc /bin33 TOOLCHAIN_DIR = $(CROSS_PREFIX)/ppc32/bin 34 34 35 35 ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \
Note:
See TracChangeset
for help on using the changeset viewer.