Changeset b473611 in mainline for uspace/lib/libc


Ignore:
Timestamp:
2010-02-13T23:56:33Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e3a3a619
Parents:
e70edd1 (diff), b86d436 (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.
Message:

Merge the sparc branch.
Both sun4u and sun4v appear to work.
HM cleanup is pending.

Location:
uspace/lib/libc/arch/sparc64
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/arch/sparc64/Makefile.inc

    re70edd1 rb473611  
    4545BFD_NAME = elf64-sparc
    4646BFD_ARCH = sparc
     47
     48ifeq ($(PROCESSOR),us)
     49        DEFS += -DSUN4U
     50endif
     51
     52ifeq ($(PROCESSOR),us3)
     53        DEFS += -DSUN4U
     54endif
     55
     56ifeq ($(PROCESSOR),sun4v)
     57        DEFS += -DSUN4V
     58endif
  • uspace/lib/libc/arch/sparc64/include/config.h

    re70edd1 rb473611  
    3636#define LIBC_sparc64_CONFIG_H_
    3737
     38#if defined (SUN4U)
    3839#define PAGE_WIDTH      14
     40#elif defined(SUN4V)
     41#define PAGE_WIDTH      13
     42#endif
     43
    3944#define PAGE_SIZE       (1 << PAGE_WIDTH)
    4045
  • uspace/lib/libc/arch/sparc64/src/thread_entry.s

    re70edd1 rb473611  
    3838        # Create the first stack frame.
    3939        #
    40         save %sp, -176, %sp
    41         flushw
    42         add %g0, -0x7ff, %fp
     40
     41        #save %sp, -176, %sp
     42        #flushw
     43        #add %g0, -0x7ff, %fp
    4344
    4445        sethi %hi(_gp), %l7
Note: See TracChangeset for help on using the changeset viewer.