Changeset 41b735f3 in mainline
- Timestamp:
- 2013-12-28T20:42:02Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d18ad61
- Parents:
- ac36aed (diff), 1df1905 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 101 added
- 7 edited
- 5 moved
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
rac36aed r41b735f3 32 32 % Platform 33 33 @ "abs32le" abstract 32-bit little endian 34 @ "amd64" AMD64/ Intel EM64T(PC)34 @ "amd64" AMD64/EM64T 64-bit (PC) 35 35 @ "arm32" ARM 32-bit 36 @ "ia32" I ntel IA-32(PC)37 @ "ia64" I ntel IA-6436 @ "ia32" IA-32 32-bit (PC) 37 @ "ia64" IA-64 64-bit 38 38 @ "mips32" MIPS 32-bit 39 39 @ "mips64" MIPS 64-bit 40 @ "ppc32" PowerPC 32-bit (iMac G4) 41 @ "sparc64" Sun UltraSPARC 64-bit 40 @ "ppc32" PowerPC 32-bit 41 @ "sparc32" SPARCv8 32-bit 42 @ "sparc64" SPARCv9 64-bit 42 43 ! PLATFORM (choice) 43 44 … … 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 … … 82 87 83 88 % CPU type 89 @ "leon3" Gaisler Aeroflex LEON3 90 ! [PLATFORM=sparc32&MACHINE=leon3] PROCESSOR (choice) 91 92 % CPU type 84 93 @ "us" UltraSPARC I-II subarchitecture 85 94 @ "us3" UltraSPARC III-IV subarchitecture … … 173 182 174 183 % Kernel architecture 184 @ "sparc32" 185 ! [PLATFORM=sparc32] KARCH (choice) 186 187 % Kernel architecture 175 188 @ "sparc64" 176 189 ! [PLATFORM=sparc64] KARCH (choice) … … 220 233 221 234 % User space architecture 235 @ "sparc32" 236 ! [PLATFORM=sparc32] UARCH (choice) 237 238 % User space architecture 222 239 @ "sparc64" 223 240 ! [PLATFORM=sparc64] UARCH (choice) … … 265 282 @ "ppc64" 266 283 ! [PLATFORM=ppc64] BARCH (choice) 284 285 % Boot architecture 286 @ "sparc32" 287 ! [PLATFORM=sparc32] BARCH (choice) 267 288 268 289 % Boot architecture … … 314 335 @ "gcc_helenos" GNU C Compiler (experimental HelenOS-specific cross-compiler) 315 336 @ "clang" Clang 316 ! [PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=sparc 64] COMPILER (choice)337 ! [PLATFORM=abs32le|PLATFORM=arm32|PLATFORM=sparc32|PLATFORM=sparc64] COMPILER (choice) 317 338 318 339 … … 341 362 342 363 % Hierarchical page tables support 343 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32 ] CONFIG_PAGE_PT (y)364 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=amd64|PLATFORM=arm32|PLATFORM=mips32|PLATFORM=ppc32|PLATFORM=sparc32] CONFIG_PAGE_PT (y) 344 365 345 366 % Page hash table support … … 347 368 348 369 % Software integer division support 349 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32 ] CONFIG_SOFTINT (y)370 ! [PLATFORM=abs32le|PLATFORM=ia32|PLATFORM=arm32|PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc32] CONFIG_SOFTINT (y) 350 371 351 372 % ASID support 352 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc 64] CONFIG_ASID (y)373 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc32|PLATFORM=sparc64] CONFIG_ASID (y) 353 374 354 375 % ASID FIFO support 355 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc 64] CONFIG_ASID_FIFO (y)376 ! [PLATFORM=ia64|PLATFORM=mips32|PLATFORM=mips64|PLATFORM=ppc32|PLATFORM=sparc32|PLATFORM=sparc64] CONFIG_ASID_FIFO (y) 356 377 357 378 % OpenFirmware tree support … … 492 513 ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&PLATFORM=arm32&(MACHINE=beagleboardxm|MACHINE=beaglebone)] CONFIG_OMAP_UART (y/n) 493 514 515 % Support for GRLIB UART 516 ! [PLATFORM=sparc32&MACHINE=leon3] CONFIG_GRLIB_UART (y) 517 518 % Support for GRLIB IRQMP 519 ! [PLATFORM=sparc32&MACHINE=leon3] CONFIG_GRLIB_IRQMP (y) 520 494 521 % Support for i8042 controller 495 522 ! [CONFIG_PC_KBD=y] CONFIG_I8042 (y) … … 511 538 512 539 % 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)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) 514 541 515 542 % EGA support … … 626 653 @ "5" Linux kernel 627 654 ! [PLATFORM=arm32&MACHINE!=beagleboardxm&MACHINE!=beaglebone] UIMAGE_OS (choice) 655 656 % uImage OS type 657 @ "5" Linux kernel 658 ! [PLATFORM=sparc32] UIMAGE_OS (choice) -
kernel/arch/arm32/src/mach/gta02/gta02.c
rac36aed r41b735f3 41 41 #include <genarch/fb/fb.h> 42 42 #include <abi/fb/visuals.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>43 #include <genarch/drivers/s3c24xx/uart.h> 44 #include <genarch/drivers/s3c24xx/irqc.h> 45 #include <genarch/drivers/s3c24xx/timer.h> 46 46 #include <genarch/srln/srln.h> 47 47 #include <sysinfo/sysinfo.h> -
kernel/genarch/Makefile.inc
rac36aed r41b735f3 97 97 ifeq ($(CONFIG_S3C24XX_IRQC),y) 98 98 GENARCH_SOURCES += \ 99 genarch/src/drivers/s3c24xx _irqc/s3c24xx_irqc.c99 genarch/src/drivers/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/s3c24xx_uart.c104 genarch/src/drivers/s3c24xx/uart.c 105 105 endif 106 106 … … 108 108 GENARCH_SOURCES += \ 109 109 genarch/src/drivers/omap/uart.c 110 endif 111 112 ifeq ($(CONFIG_GRLIB_UART),y) 113 GENARCH_SOURCES += \ 114 genarch/src/drivers/grlib/uart.c 115 endif 116 117 ifeq ($(CONFIG_GRLIB_IRQMP),y) 118 GENARCH_SOURCES += \ 119 genarch/src/drivers/grlib/irqmp.c 110 120 endif 111 121 -
kernel/genarch/src/drivers/s3c24xx/irqc.c
rac36aed r41b735f3 37 37 */ 38 38 39 #include <genarch/drivers/s3c24xx _irqc/s3c24xx_irqc.h>39 #include <genarch/drivers/s3c24xx/irqc.h> 40 40 #include <arch/asm.h> 41 41 -
kernel/genarch/src/drivers/s3c24xx/uart.c
rac36aed r41b735f3 38 38 */ 39 39 40 #include <genarch/drivers/s3c24xx _uart/s3c24xx_uart.h>40 #include <genarch/drivers/s3c24xx/uart.h> 41 41 #include <console/chardev.h> 42 42 #include <console/console.h> -
kernel/generic/src/proc/scheduler.c
rac36aed r41b735f3 517 517 518 518 #ifdef SCHEDULER_VERBOSE 519 printf("cpu%u: tid %" PRIu64 " (priority=%d, ticks=%" PRIu64 520 ", nrdy=% ld)\n", CPU->id, THREAD->tid, THREAD->priority,519 printf("cpu%u: tid %" PRIu64 " (priority=%d, ticks=%" PRIu64 520 ", nrdy=%" PRIua ")\n", CPU->id, THREAD->tid, THREAD->priority, 521 521 THREAD->ticks, atomic_get(&CPU->nrdy)); 522 522 #endif -
tools/autotool.py
rac36aed r41b735f3 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 r41b735f3 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/arch/abs32le/include/libarch/atomic.h
rac36aed r41b735f3 53 53 } 54 54 55 static inline void atomic_inc(atomic_t *val) { 55 static inline void atomic_inc(atomic_t *val) 56 { 56 57 /* On real hardware the increment has to be done 57 58 as an atomic action. */ … … 60 61 } 61 62 62 static inline void atomic_dec(atomic_t *val) { 63 static inline void atomic_dec(atomic_t *val) 64 { 63 65 /* On real hardware the decrement has to be done 64 66 as an atomic action. */
Note:
See TracChangeset
for help on using the changeset viewer.