Changes in / [41b735f3:ac36aed] in mainline
- Files:
-
- 5 added
- 106 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
r41b735f3 rac36aed 32 32 % Platform 33 33 @ "abs32le" abstract 32-bit little endian 34 @ "amd64" AMD64/ EM64T 64-bit(PC)34 @ "amd64" AMD64/Intel EM64T (PC) 35 35 @ "arm32" ARM 32-bit 36 @ "ia32" I A-32 32-bit(PC)37 @ "ia64" I A-64 64-bit36 @ "ia32" Intel IA-32 (PC) 37 @ "ia64" Intel IA-64 38 38 @ "mips32" MIPS 32-bit 39 39 @ "mips64" MIPS 64-bit 40 @ "ppc32" PowerPC 32-bit 41 @ "sparc32" SPARCv8 32-bit 42 @ "sparc64" SPARCv9 64-bit 40 @ "ppc32" PowerPC 32-bit (iMac G4) 41 @ "sparc64" Sun UltraSPARC 64-bit 43 42 ! PLATFORM (choice) 44 43 … … 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 … … 87 82 88 83 % CPU type 89 @ "leon3" Gaisler Aeroflex LEON390 ! [PLATFORM=sparc32&MACHINE=leon3] PROCESSOR (choice)91 92 % CPU type93 84 @ "us" UltraSPARC I-II subarchitecture 94 85 @ "us3" UltraSPARC III-IV subarchitecture … … 182 173 183 174 % Kernel architecture 184 @ "sparc32"185 ! [PLATFORM=sparc32] KARCH (choice)186 187 % Kernel architecture188 175 @ "sparc64" 189 176 ! [PLATFORM=sparc64] KARCH (choice) … … 233 220 234 221 % User space architecture 235 @ "sparc32"236 ! [PLATFORM=sparc32] UARCH (choice)237 238 % User space architecture239 222 @ "sparc64" 240 223 ! [PLATFORM=sparc64] UARCH (choice) … … 282 265 @ "ppc64" 283 266 ! [PLATFORM=ppc64] BARCH (choice) 284 285 % Boot architecture286 @ "sparc32"287 ! [PLATFORM=sparc32] BARCH (choice)288 267 289 268 % Boot architecture … … 335 314 @ "gcc_helenos" GNU C Compiler (experimental HelenOS-specific cross-compiler) 336 315 @ "clang" Clang 337 ! [PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=sparc 32|PLATFORM=sparc64] COMPILER (choice)316 ! [PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=sparc64] COMPILER (choice) 338 317 339 318 … … 362 341 363 342 % Hierarchical page tables support 364 ! [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) 365 344 366 345 % Page hash table support … … 368 347 369 348 % Software integer division support 370 ! [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) 371 350 372 351 % ASID support 373 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc 32|PLATFORM=sparc64] CONFIG_ASID (y)352 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID (y) 374 353 375 354 % ASID FIFO support 376 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc 32|PLATFORM=sparc64] CONFIG_ASID_FIFO (y)355 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc64] CONFIG_ASID_FIFO (y) 377 356 378 357 % OpenFirmware tree support … … 513 492 ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] CONFIG_OMAP_UART (y/n) 514 493 515 % Support for GRLIB UART516 ! [PLATFORM=sparc32&MACHINE=leon3] CONFIG_GRLIB_UART (y)517 518 % Support for GRLIB IRQMP519 ! [PLATFORM=sparc32&MACHINE=leon3] CONFIG_GRLIB_IRQMP (y)520 521 494 % Support for i8042 controller 522 495 ! [CONFIG_PC_KBD=y] CONFIG_I8042 (y) … … 538 511 539 512 % Serial line input module 540 ! [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) 541 514 542 515 % EGA support … … 653 626 @ "5" Linux kernel 654 627 ! [PLATFORM=arm32&MACHINE!=beagleboardxm&MACHINE!=beaglebone] UIMAGE_OS (choice) 655 656 % uImage OS type657 @ "5" Linux kernel658 ! [PLATFORM=sparc32] UIMAGE_OS (choice) -
kernel/arch/arm32/src/mach/gta02/gta02.c
r41b735f3 rac36aed 41 41 #include <genarch/fb/fb.h> 42 42 #include <abi/fb/visuals.h> 43 #include <genarch/drivers/s3c24xx /uart.h>44 #include <genarch/drivers/s3c24xx /irqc.h>45 #include <genarch/drivers/s3c24xx /timer.h>43 #include <genarch/drivers/s3c24xx_uart/s3c24xx_uart.h> 44 #include <genarch/drivers/s3c24xx_irqc/s3c24xx_irqc.h> 45 #include <genarch/drivers/s3c24xx_timer/s3c24xx_timer.h> 46 46 #include <genarch/srln/srln.h> 47 47 #include <sysinfo/sysinfo.h> -
kernel/genarch/Makefile.inc
r41b735f3 rac36aed 97 97 ifeq ($(CONFIG_S3C24XX_IRQC),y) 98 98 GENARCH_SOURCES += \ 99 genarch/src/drivers/s3c24xx /irqc.c99 genarch/src/drivers/s3c24xx_irqc/s3c24xx_irqc.c 100 100 endif 101 101 102 102 ifeq ($(CONFIG_S3C24XX_UART),y) 103 103 GENARCH_SOURCES += \ 104 genarch/src/drivers/s3c24xx /uart.c104 genarch/src/drivers/s3c24xx_uart/s3c24xx_uart.c 105 105 endif 106 106 … … 108 108 GENARCH_SOURCES += \ 109 109 genarch/src/drivers/omap/uart.c 110 endif111 112 ifeq ($(CONFIG_GRLIB_UART),y)113 GENARCH_SOURCES += \114 genarch/src/drivers/grlib/uart.c115 endif116 117 ifeq ($(CONFIG_GRLIB_IRQMP),y)118 GENARCH_SOURCES += \119 genarch/src/drivers/grlib/irqmp.c120 110 endif 121 111 -
kernel/generic/src/proc/scheduler.c
r41b735f3 rac36aed 517 517 518 518 #ifdef SCHEDULER_VERBOSE 519 printf("cpu%u: tid %" PRIu64 " (priority=%d, ticks=%" PRIu64 520 ", nrdy=% " PRIua ")\n", CPU->id, THREAD->tid, THREAD->priority,519 printf("cpu%u: tid %" PRIu64 " (priority=%d, ticks=%" PRIu64 520 ", nrdy=%ld)\n", CPU->id, THREAD->tid, THREAD->priority, 521 521 THREAD->ticks, atomic_get(&CPU->nrdy)); 522 522 #endif -
tools/autotool.py
r41b735f3 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
r41b735f3 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/arch/abs32le/include/libarch/atomic.h
r41b735f3 rac36aed 53 53 } 54 54 55 static inline void atomic_inc(atomic_t *val) 56 { 55 static inline void atomic_inc(atomic_t *val) { 57 56 /* On real hardware the increment has to be done 58 57 as an atomic action. */ … … 61 60 } 62 61 63 static inline void atomic_dec(atomic_t *val) 64 { 62 static inline void atomic_dec(atomic_t *val) { 65 63 /* On real hardware the decrement has to be done 66 64 as an atomic action. */
Note:
See TracChangeset
for help on using the changeset viewer.