Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 58d5803d in mainline


Ignore:
Timestamp:
2009-12-12T09:50:50Z (11 years ago)
Author:
Pavel Rimsky <pavel@…>
Branches:
master
Children:
387416b
Parents:
77f65df
Message:

Fixed page size for sun4v.

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

Legend:

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

    r77f65df r58d5803d  
    4343BFD_NAME = elf64-sparc
    4444BFD_ARCH = sparc
     45
     46ifeq ($(PROCESSOR),us)
     47        DEFS += -DSUN4U
     48endif
     49
     50ifeq ($(PROCESSOR),us3)
     51        DEFS += -DSUN4U
     52endif
     53
     54ifeq ($(PROCESSOR),sun4v)
     55        DEFS += -DSUN4V
     56endif
  • uspace/lib/libc/arch/sparc64/include/config.h

    r77f65df r58d5803d  
    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
Note: See TracChangeset for help on using the changeset viewer.