Changeset 5d9e36b in mainline
- Timestamp:
- 2012-12-30T13:32:58Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bfb57fb
- Parents:
- 949869d
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
r949869d r5d9e36b 86 86 ! [PLATFORM=sparc64&MACHINE=generic] PROCESSOR (choice) 87 87 88 % CPU type88 % CPU arch 89 89 @ "armv4" ARMv4 90 ! [PLATFORM=arm32&(MACHINE=gta02)] PROCESSOR (choice)90 ! [PLATFORM=arm32&(MACHINE=gta02)] PROCESSOR_ARCH (choice) 91 91 92 92 % CPU type 93 93 @ "armv5" ARMv5 94 ! [PLATFORM=arm32&MACHINE=integratorcp] PROCESSOR (choice)94 ! [PLATFORM=arm32&MACHINE=integratorcp] PROCESSOR_ARCH (choice) 95 95 96 96 % CPU type 97 97 @ "armv7_a" ARMv7-A 98 ! [PLATFORM=arm32&MACHINE=beagleboardxm] PROCESSOR (choice)98 ! [PLATFORM=arm32&MACHINE=beagleboardxm] PROCESSOR_ARCH (choice) 99 99 100 100 % RAM disk format … … 348 348 ## armv7 made fpu hardware compulsory 349 349 % FPU support 350 ! [PLATFORM=arm32&PROCESSOR =armv7_a] CONFIG_FPU (y)350 ! [PLATFORM=arm32&PROCESSOR_ARCH=armv7_a] CONFIG_FPU (y) 351 351 352 352 % FPU support -
boot/arch/arm32/Makefile.inc
r949869d r5d9e36b 49 49 BITS = 32 50 50 ENDIANESS = LE 51 EXTRA_CFLAGS = -march=$(subst _,-,$(PROCESSOR )) -mno-unaligned-access51 EXTRA_CFLAGS = -march=$(subst _,-,$(PROCESSOR_ARCH)) -mno-unaligned-access 52 52 53 53 ifeq ($(MACHINE), gta02) -
boot/arch/arm32/src/mm.c
r949869d r5d9e36b 107 107 "mcr p15, 0, r0, c3, c0, 0\n" 108 108 109 #ifdef PROCESSOR_ armv7_a109 #ifdef PROCESSOR_ARCH_armv7_a 110 110 /* Read Auxiliary control register */ 111 111 "mrc p15, 0, r0, c1, c0, 1\n" … … 119 119 "mrc p15, 0, r0, c1, c0, 0\n" 120 120 121 #ifdef PROCESSOR_ armv7_a121 #ifdef PROCESSOR_ARCH_armv7_a 122 122 /* Mask to enable paging, I-cache D-cache and branch predict 123 123 * See kernel/arch/arm32/include/regutils.h for bit values.*/ -
kernel/arch/arm32/Makefile.inc
r949869d r5d9e36b 33 33 ATSIGN = % 34 34 35 GCC_CFLAGS += -fno-omit-frame-pointer -mapcs-frame -march=$(subst _,-,$(PROCESSOR )) -mno-unaligned-access35 GCC_CFLAGS += -fno-omit-frame-pointer -mapcs-frame -march=$(subst _,-,$(PROCESSOR_ARCH)) -mno-unaligned-access 36 36 37 37 ifeq ($(CONFIG_FPU),y) -
kernel/arch/arm32/include/asm.h
r949869d r5d9e36b 53 53 NO_TRACE static inline void cpu_sleep(void) 54 54 { 55 #ifdef PROCESSOR_ armv7_a55 #ifdef PROCESSOR_ARCH_armv7_a 56 56 asm volatile ( "wfe" :: ); 57 57 #elif defined(MACHINE_gta02) | defined(MACHINE_integratorcp) -
kernel/arch/arm32/include/mm/page.h
r949869d r5d9e36b 129 129 set_pt_level1_present((pte_t *) (ptl3), (size_t) (i)) 130 130 131 #if defined(PROCESSOR_ armv6) | defined(PROCESSOR_armv7_a)131 #if defined(PROCESSOR_ARCH_armv6) | defined(PROCESSOR_ARCH_armv7_a) 132 132 #include "page_armv6.h" 133 #elif defined(PROCESSOR_ armv4) | defined(PROCESSOR_armv5)133 #elif defined(PROCESSOR_ARCH_armv4) | defined(PROCESSOR_ARCH_armv5) 134 134 #include "page_armv4.h" 135 135 #else -
kernel/arch/arm32/src/cpu/cpu.c
r949869d r5d9e36b 98 98 void cpu_arch_init(void) 99 99 { 100 #if defined(PROCESSOR_ armv7_a) | defined(PROCESSOR_armv6)100 #if defined(PROCESSOR_ARCH_armv7_a) | defined(PROCESSOR_ARCH_armv6) 101 101 uint32_t control_reg = 0; 102 102 asm volatile ( -
kernel/arch/arm32/src/mm/page_fault.c
r949869d r5d9e36b 174 174 } 175 175 176 #if defined(PROCESSOR_ armv4) | defined(PROCESSOR_armv5)176 #if defined(PROCESSOR_ARCH_armv4) | defined(PROCESSOR_ARCH_armv5) 177 177 /** Decides whether read or write into memory is requested. 178 178 * … … 281 281 } 282 282 283 #if defined(PROCESSOR_ armv6) | defined(PROCESSOR_armv7_a)283 #if defined(PROCESSOR_ARCH_armv6) | defined(PROCESSOR_ARCH_armv7_a) 284 284 const pf_access_t access = 285 285 fsr.data.wr ? PF_ACCESS_WRITE : PF_ACCESS_READ; 286 #elif defined(PROCESSOR_ armv4) | defined(PROCESSOR_armv5)286 #elif defined(PROCESSOR_ARCH_armv4) | defined(PROCESSOR_ARCH_armv5) 287 287 const pf_access_t access = get_memory_access_type(istate->pc, badvaddr); 288 288 #else -
uspace/lib/c/arch/arm32/Makefile.common
r949869d r5d9e36b 28 28 # 29 29 30 GCC_CFLAGS += -ffixed-r9 -mtp=soft -fno-omit-frame-pointer -mapcs-frame -march=$(subst _,-,$(PROCESSOR ))30 GCC_CFLAGS += -ffixed-r9 -mtp=soft -fno-omit-frame-pointer -mapcs-frame -march=$(subst _,-,$(PROCESSOR_ARCH)) 31 31 32 32 ifeq ($(CONFIG_FPU),y)
Note:
See TracChangeset
for help on using the changeset viewer.