Changes in / [0c2d9bb:ac36aed] in mainline
- Files:
-
- 102 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
r0c2d9bb rac36aed 39 39 @ "mips64" MIPS 64-bit 40 40 @ "ppc32" PowerPC 32-bit (iMac G4) 41 @ "sparc32" SPARC v8 (32-bit)42 41 @ "sparc64" Sun UltraSPARC 64-bit 43 42 ! PLATFORM (choice) … … 61 60 @ "generic" Generic Sun workstation or server 62 61 ! [PLATFORM=sparc64] MACHINE (choice) 63 64 % Machine type65 @ "leon3" Gaisler Aeroflex LEON366 ! [PLATFORM=sparc32] MACHINE (choice)67 62 68 63 % Machine type … … 93 88 94 89 % CPU type 95 @ "leon3" Gaisler Aeroflex LEON396 ! [PLATFORM=sparc32&MACHINE=leon3] PROCESSOR (choice)97 98 % CPU type99 90 @ "cortex_a8" ARM Cortex A-8 100 91 ! [PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] PROCESSOR (choice) … … 185 176 ! [PLATFORM=sparc64] KARCH (choice) 186 177 187 % Kernel architecture188 @ "sparc32"189 ! [PLATFORM=sparc32] KARCH (choice)190 178 191 179 ## Mapping between platform and user space architecture … … 235 223 ! [PLATFORM=sparc64] UARCH (choice) 236 224 237 % User space architecture238 @ "sparc32"239 ! [PLATFORM=sparc32] UARCH (choice)240 225 241 226 ## Mapping between platform and boot architecture … … 285 270 ! [PLATFORM=sparc64] BARCH (choice) 286 271 287 % Boot architecture288 @ "sparc32"289 ! [PLATFORM=sparc32] BARCH (choice)290 272 291 273 ## Mapping between platform and image format … … 302 284 @ "binary" 303 285 ! [PLATFORM=mips64] IMAGE (choice) 286 304 287 305 288 ## Compiler options … … 331 314 @ "gcc_helenos" GNU C Compiler (experimental HelenOS-specific cross-compiler) 332 315 @ "clang" Clang 333 ! [PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=sparc64 |PLATFORM=sparc32] COMPILER (choice)316 ! [PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=sparc64] COMPILER (choice) 334 317 335 318 … … 358 341 359 342 % Hierarchical page tables support 360 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32 |PLATFORM=sparc32] CONFIG_PAGE_PT (y)343 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32] CONFIG_PAGE_PT (y) 361 344 362 345 % Page hash table support … … 364 347 365 348 % Software integer division support 366 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32 |PLATFORM=sparc32] CONFIG_SOFTINT (y)349 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32] CONFIG_SOFTINT (y) 367 350 368 351 % ASID support 369 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc64 |PLATFORM=sparc32] CONFIG_ASID (y)352 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID (y) 370 353 371 354 % ASID FIFO support 372 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc64 |PLATFORM=sparc32] CONFIG_ASID_FIFO (y)355 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID_FIFO (y) 373 356 374 357 % OpenFirmware tree support … … 509 492 ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] CONFIG_OMAP_UART (y/n) 510 493 511 % Support for GRLIB UART512 ! [PLATFORM=sparc32&MACHINE=leon3] CONFIG_GRLIB_UART (y)513 514 % Support for GRLIB IRQMP515 ! [PLATFORM=sparc32&MACHINE=leon3] CONFIG_GRLIB_IRQMP (y)516 517 494 % Support for i8042 controller 518 495 ! [CONFIG_PC_KBD=y] CONFIG_I8042 (y) … … 534 511 535 512 % Serial line input module 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)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) 537 514 538 515 % EGA support … … 649 626 @ "5" Linux kernel 650 627 ! [PLATFORM=arm32&MACHINE!=beagleboardxm&MACHINE!=beaglebone] UIMAGE_OS (choice) 651 652 % uImage OS type653 @ "5" Linux kernel654 ! [PLATFORM=sparc32] UIMAGE_OS (choice) -
kernel/genarch/Makefile.inc
r0c2d9bb rac36aed 110 110 endif 111 111 112 ifeq ($(CONFIG_GRLIB_UART),y)113 GENARCH_SOURCES += \114 genarch/src/drivers/grlib_uart/grlib_uart.c115 endif116 117 ifeq ($(CONFIG_GRLIB_IRQMP),y)118 GENARCH_SOURCES += \119 genarch/src/drivers/grlib_irqmp/grlib_irqmp.c120 endif121 122 112 ifeq ($(CONFIG_AM335X_TIMERS),y) 123 113 GENARCH_SOURCES += \ -
kernel/generic/src/main/main.c
r0c2d9bb rac36aed 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 172 168 /* Avoid placing stack on top of init */ 173 169 size_t i; -
kernel/generic/src/proc/scheduler.c
r0c2d9bb rac36aed 64 64 #include <stacktrace.h> 65 65 66 //#define SCHEDULER_VERBOSE 167 68 66 static void scheduler_separated_stack(void); 69 67 … … 520 518 #ifdef SCHEDULER_VERBOSE 521 519 printf("cpu%u: tid %" PRIu64 " (priority=%d, ticks=%" PRIu64 522 ", nrdy=% d)\n", CPU->id, THREAD->tid, THREAD->priority,520 ", nrdy=%ld)\n", CPU->id, THREAD->tid, THREAD->priority, 523 521 THREAD->ticks, atomic_get(&CPU->nrdy)); 524 522 #endif -
tools/autotool.py
r0c2d9bb rac36aed 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"270 265 271 266 if (config['PLATFORM'] == "sparc64"): -
tools/toolchain.sh
r0c2d9bb rac36aed 155 155 echo " ppc32 32-bit PowerPC" 156 156 echo " ppc64 64-bit PowerPC" 157 echo " sparc32 SPARC V8"158 157 echo " sparc64 SPARC V9" 159 158 echo " all build all targets" … … 379 378 HELENOS_TARGET="ppc64-helenos" 380 379 ;; 381 "sparc32")382 LINUX_TARGET="sparc-leon3-linux-gnu"383 HELENOS_TARGET="sparc-leon3-helenos"384 ;;385 380 "sparc64") 386 381 LINUX_TARGET="sparc64-linux-gnu" … … 560 555 561 556 case "$1" in 562 amd64|arm32|ia32|ia64|mips32|mips32eb|mips64|ppc32|ppc64|sparc 32|sparc64)557 amd64|arm32|ia32|ia64|mips32|mips32eb|mips64|ppc32|ppc64|sparc64) 563 558 prepare 564 559 build_target "$1" … … 575 570 build_target "ppc32" 576 571 build_target "ppc64" 577 build_target "sparc32"578 572 build_target "sparc64" 579 573 ;; … … 589 583 build_target "ppc32" & 590 584 build_target "ppc64" & 591 build_target "sparc32" &592 585 build_target "sparc64" & 593 586 wait … … 612 605 613 606 build_target "ppc64" & 614 build_target "sparc32" &615 wait616 617 607 build_target "sparc64" & 618 608 wait -
uspace/lib/c/include/atomicdflt.h
r0c2d9bb rac36aed 60 60 static inline bool cas(atomic_t *val, atomic_count_t ov, atomic_count_t nv) 61 61 { 62 // XXX return __sync_bool_compare_and_swap(&val->count, ov, nv); 63 return false; 62 return __sync_bool_compare_and_swap(&val->count, ov, nv); 64 63 } 65 64 #endif
Note:
See TracChangeset
for help on using the changeset viewer.