Changes in / [ac36aed:0c2d9bb] in mainline
- Files:
-
- 102 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
rac36aed r0c2d9bb 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=sparc32] 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 … … 314 331 @ "gcc_helenos" GNU C Compiler (experimental HelenOS-specific cross-compiler) 315 332 @ "clang" Clang 316 ! [PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=sparc64 ] COMPILER (choice)333 ! [PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=sparc64|PLATFORM=sparc32] COMPILER (choice) 317 334 318 335 … … 341 358 342 359 % Hierarchical page tables support 343 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32 ] CONFIG_PAGE_PT (y)360 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc32] CONFIG_PAGE_PT (y) 344 361 345 362 % Page hash table support … … 347 364 348 365 % Software integer division support 349 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32 ] CONFIG_SOFTINT (y)366 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc32] CONFIG_SOFTINT (y) 350 367 351 368 % ASID support 352 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc64 ] CONFIG_ASID (y)369 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc64|PLATFORM=sparc32] CONFIG_ASID (y) 353 370 354 371 % ASID FIFO support 355 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc64 ] CONFIG_ASID_FIFO (y)372 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc64|PLATFORM=sparc32] CONFIG_ASID_FIFO (y) 356 373 357 374 % OpenFirmware tree support … … 492 509 ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] CONFIG_OMAP_UART (y/n) 493 510 511 % Support for GRLIB UART 512 ! [PLATFORM=sparc32&MACHINE=leon3] CONFIG_GRLIB_UART (y) 513 514 % Support for GRLIB IRQMP 515 ! [PLATFORM=sparc32&MACHINE=leon3] CONFIG_GRLIB_IRQMP (y) 516 494 517 % Support for i8042 controller 495 518 ! [CONFIG_PC_KBD=y] CONFIG_I8042 (y) … … 511 534 512 535 % Serial line input module 513 ! [CONFIG_DSRLNIN=y|(PLATFORM= arm32&MACHINE=gta02)|(PLATFORM=arm32&MACHINE=integratorcp&CONFIG_ARM926_UART=y)|(PLATFORM=arm32&MACHINE=beaglebone&CONFIG_OMAP_UART=y)|(PLATFORM=arm32&MACHINE=beagleboardxm&CONFIG_OMAP_UART=y)|(PLATFORM=ia64&MACHINE=i460GX&CONFIG_NS16550=y)|(PLATFORM=ia64&MACHINE=ski)|(PLATFORM=sparc64&PROCESSOR=sun4v)] CONFIG_SRLN (y)536 ! [CONFIG_DSRLNIN=y|(PLATFORM=sparc32)|(PLATFORM=arm32&MACHINE=gta02)|(PLATFORM=arm32&MACHINE=integratorcp&CONFIG_ARM926_UART=y)|(PLATFORM=arm32&MACHINE=beaglebone&CONFIG_OMAP_UART=y)|(PLATFORM=arm32&MACHINE=beagleboardxm&CONFIG_OMAP_UART=y)|(PLATFORM=ia64&MACHINE=i460GX&CONFIG_NS16550=y)|(PLATFORM=ia64&MACHINE=ski)|(PLATFORM=sparc64&PROCESSOR=sun4v)] CONFIG_SRLN (y) 514 537 515 538 % EGA support … … 626 649 @ "5" Linux kernel 627 650 ! [PLATFORM=arm32&MACHINE!=beagleboardxm&MACHINE!=beaglebone] UIMAGE_OS (choice) 651 652 % uImage OS type 653 @ "5" Linux kernel 654 ! [PLATFORM=sparc32] UIMAGE_OS (choice) -
kernel/genarch/Makefile.inc
rac36aed r0c2d9bb 110 110 endif 111 111 112 ifeq ($(CONFIG_GRLIB_UART),y) 113 GENARCH_SOURCES += \ 114 genarch/src/drivers/grlib_uart/grlib_uart.c 115 endif 116 117 ifeq ($(CONFIG_GRLIB_IRQMP),y) 118 GENARCH_SOURCES += \ 119 genarch/src/drivers/grlib_irqmp/grlib_irqmp.c 120 endif 121 112 122 ifeq ($(CONFIG_AM335X_TIMERS),y) 113 123 GENARCH_SOURCES += \ -
kernel/generic/src/main/main.c
rac36aed r0c2d9bb 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; -
kernel/generic/src/proc/scheduler.c
rac36aed r0c2d9bb 64 64 #include <stacktrace.h> 65 65 66 //#define SCHEDULER_VERBOSE 1 67 66 68 static void scheduler_separated_stack(void); 67 69 … … 518 520 #ifdef SCHEDULER_VERBOSE 519 521 printf("cpu%u: tid %" PRIu64 " (priority=%d, ticks=%" PRIu64 520 ", nrdy=% ld)\n", CPU->id, THREAD->tid, THREAD->priority,522 ", nrdy=%d)\n", CPU->id, THREAD->tid, THREAD->priority, 521 523 THREAD->ticks, atomic_get(&CPU->nrdy)); 522 524 #endif -
tools/autotool.py
rac36aed r0c2d9bb 263 263 clang_target = "powerpc-unknown-linux" 264 264 helenos_target = "ppc-helenos" 265 266 if (config['PLATFORM'] == "sparc32"): 267 target = config['PLATFORM']; 268 gnu_target = "sparc-leon3-linux-gnu" 269 helenos_target = "sparc-leon3-helenos" 265 270 266 271 if (config['PLATFORM'] == "sparc64"): -
tools/toolchain.sh
rac36aed r0c2d9bb 155 155 echo " ppc32 32-bit PowerPC" 156 156 echo " ppc64 64-bit PowerPC" 157 echo " sparc32 SPARC V8" 157 158 echo " sparc64 SPARC V9" 158 159 echo " all build all targets" … … 378 379 HELENOS_TARGET="ppc64-helenos" 379 380 ;; 381 "sparc32") 382 LINUX_TARGET="sparc-leon3-linux-gnu" 383 HELENOS_TARGET="sparc-leon3-helenos" 384 ;; 380 385 "sparc64") 381 386 LINUX_TARGET="sparc64-linux-gnu" … … 555 560 556 561 case "$1" in 557 amd64|arm32|ia32|ia64|mips32|mips32eb|mips64|ppc32|ppc64|sparc 64)562 amd64|arm32|ia32|ia64|mips32|mips32eb|mips64|ppc32|ppc64|sparc32|sparc64) 558 563 prepare 559 564 build_target "$1" … … 570 575 build_target "ppc32" 571 576 build_target "ppc64" 577 build_target "sparc32" 572 578 build_target "sparc64" 573 579 ;; … … 583 589 build_target "ppc32" & 584 590 build_target "ppc64" & 591 build_target "sparc32" & 585 592 build_target "sparc64" & 586 593 wait … … 605 612 606 613 build_target "ppc64" & 614 build_target "sparc32" & 615 wait 616 607 617 build_target "sparc64" & 608 618 wait -
uspace/lib/c/include/atomicdflt.h
rac36aed r0c2d9bb 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.