Changes in / [a1ecb88:ca62f86] in mainline
- Files:
-
- 93 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
ra1ecb88 rca62f86 39 39 @ "mips64" MIPS 64-bit 40 40 @ "ppc32" PowerPC 32-bit (iMac G4) 41 @ "sparc32" SPARC v8 (32-bit) 41 42 @ "sparc64" Sun UltraSPARC 64-bit 42 43 ! PLATFORM (choice) … … 60 61 @ "generic" Generic Sun workstation or server 61 62 ! [PLATFORM=sparc64] MACHINE (choice) 63 64 % Machine type 65 @ "leon3" Gaisler Aeroflex LEON3 66 ! [PLATFORM=sarc32] MACHINE (choice) 62 67 63 68 % Machine type … … 88 93 89 94 % CPU type 95 @ "leon3" Gaisler Aeroflex LEON3 96 ! [PLATFORM=sparc32&MACHINE=leon3] PROCESSOR (choice) 97 98 % CPU type 90 99 @ "cortex_a8" ARM Cortex A-8 91 100 ! [PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] PROCESSOR (choice) … … 176 185 ! [PLATFORM=sparc64] KARCH (choice) 177 186 187 % Kernel architecture 188 @ "sparc32" 189 ! [PLATFORM=sparc32] KARCH (choice) 178 190 179 191 ## Mapping between platform and user space architecture … … 223 235 ! [PLATFORM=sparc64] UARCH (choice) 224 236 237 % User space architecture 238 @ "sparc32" 239 ! [PLATFORM=sparc32] UARCH (choice) 225 240 226 241 ## Mapping between platform and boot architecture … … 270 285 ! [PLATFORM=sparc64] BARCH (choice) 271 286 287 % Boot architecture 288 @ "sparc32" 289 ! [PLATFORM=sparc32] BARCH (choice) 272 290 273 291 ## Mapping between platform and image format … … 284 302 @ "binary" 285 303 ! [PLATFORM=mips64] IMAGE (choice) 286 287 304 288 305 ## Compiler options … … 310 327 @ "gcc_native" GNU C Compiler (native) 311 328 @ "clang" Clang 312 ! [PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=sparc64 ] COMPILER (choice)329 ! [PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=sparc64|PLATFORM=sparc32] COMPILER (choice) 313 330 314 331 … … 337 354 338 355 % Hierarchical page tables support 339 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32 ] CONFIG_PAGE_PT (y)356 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc32] CONFIG_PAGE_PT (y) 340 357 341 358 % Page hash table support … … 343 360 344 361 % Software integer division support 345 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32 ] CONFIG_SOFTINT (y)362 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc32] CONFIG_SOFTINT (y) 346 363 347 364 % ASID support -
kernel/genarch/Makefile.inc
ra1ecb88 rca62f86 110 110 endif 111 111 112 ifeq ($(CONFIG_GRLIB_UART),y) 113 GENARCH_SOURCES += \ 114 genarch/src/drivers/omap/uart.c 115 endif 116 112 117 ifeq ($(CONFIG_AM335X_TIMERS),y) 113 118 GENARCH_SOURCES += \ -
kernel/generic/src/main/main.c
ra1ecb88 rca62f86 166 166 config.stack_base = config.base + config.kernel_size; 167 167 168 printf("base = 0x%08x\n", config.base); 169 printf("kernel_size = 0x%08x\n", config.kernel_size); 170 printf("stack_base = 0x%08x\n", config.stack_base); 171 168 172 /* Avoid placing stack on top of init */ 169 173 size_t i; -
tools/autotool.py
ra1ecb88 rca62f86 256 256 gnu_target = "sparc64-linux-gnu" 257 257 clang_target = "sparc-unknown-linux" 258 259 if (config['PLATFORM'] == "sparc32"): 260 target = config['PLATFORM']; 261 gnu_target = "sparc-leon3-linux-gnu" 258 262 259 263 return (target, cc_args, gnu_target, clang_target) -
tools/toolchain.sh
ra1ecb88 rca62f86 148 148 echo " ppc64 64-bit PowerPC" 149 149 echo " sparc64 SPARC V9" 150 echo " sparc32 SPARC V8" 150 151 echo " all build all targets" 151 152 echo " parallel same as 'all', but all in parallel" … … 406 407 build_target "sparc64" "sparc64-linux-gnu" 407 408 ;; 409 "sparc32") 410 prepare 411 build_target "sparc32" "sparc-leon3-linux-gnu" 412 ;; 408 413 "all") 409 414 prepare … … 418 423 build_target "ppc64" "ppc64-linux-gnu" 419 424 build_target "sparc64" "sparc64-linux-gnu" 425 build_target "sparc32" "sparc-leon3-linux-gnu" 420 426 ;; 421 427 "parallel") … … 431 437 build_target "ppc64" "ppc64-linux-gnu" & 432 438 build_target "sparc64" "sparc64-linux-gnu" & 439 build_target "sparc32" "sparc-leon3-linux-gnu" & 433 440 wait 434 441 ;; … … 454 461 build_target "sparc64" "sparc64-linux-gnu" & 455 462 wait 463 464 build_target "sparc32" "sparc-leon3-linux-gnu" & 465 wait 456 466 ;; 457 467 *) -
uspace/lib/c/include/atomicdflt.h
ra1ecb88 rca62f86 60 60 static inline bool cas(atomic_t *val, atomic_count_t ov, atomic_count_t nv) 61 61 { 62 return __sync_bool_compare_and_swap(&val->count, ov, nv); 62 // XXX return __sync_bool_compare_and_swap(&val->count, ov, nv); 63 return false; 63 64 } 64 65 #endif
Note:
See TracChangeset
for help on using the changeset viewer.