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

Changeset 25a76ab8 in mainline for boot/arch/sparc64/include/arch.h


Ignore:
Timestamp:
2010-05-08T07:53:23Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
051bc69a
Parents:
6c39a907 (diff), 1317380 (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 mainline changes.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • boot/arch/sparc64/include/arch.h

    r6c39a907 r25a76ab8  
    11/*
     2 * Copyright (c) 2006 Martin Decky
    23 * Copyright (c) 2006 Jakub Jermar
    34 * All rights reserved.
     
    2728 */
    2829
    29 #ifndef BOOT_sparc64_STACK_H_
    30 #define BOOT_sparc64_STACK_H_
     30#ifndef BOOT_sparc64_ARCH_H_
     31#define BOOT_sparc64_ARCH_H_
    3132
     33#define PAGE_WIDTH  14
     34#define PAGE_SIZE   (1 << PAGE_WIDTH)
     35
     36#define LOADER_ADDRESS  0x004000
     37#define KERNEL_ADDRESS  0x400000
     38
     39#define STACK_SIZE                   8192
    3240#define STACK_ALIGNMENT              16
    3341#define STACK_BIAS                   2047
    3442#define STACK_WINDOW_SAVE_AREA_SIZE  (16 * 8)
    3543
     44#define NWINDOWS  8
     45
     46#define PSTATE_IE_BIT    2
     47#define PSTATE_PRIV_BIT  4
     48#define PSTATE_AM_BIT    8
     49
     50#define ASI_ICBUS_CONFIG        0x4a
     51#define ICBUS_CONFIG_MID_SHIFT  17
     52
     53/** Constants to distinguish particular UltraSPARC architecture */
     54#define ARCH_SUN4U  10
     55#define ARCH_SUN4V  20
     56
     57/** Constants to distinguish particular UltraSPARC subarchitecture */
     58#define SUBARCH_UNKNOWN  0
     59#define SUBARCH_US       1
     60#define SUBARCH_US3      3
     61
     62#define BSP_PROCESSOR  1
     63#define AP_PROCESSOR   0
     64
    3665#endif
Note: See TracChangeset for help on using the changeset viewer.