Ignore:
Timestamp:
2006-08-26T18:42:11Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c8ea4a8b
Parents:
f47fd19
Message:

sparc64 work.
Bunch of changes in preparation for sparc64 mm and userspace support.
Fix alignment of hardcoded_* variables in linker script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/regdef.h

    rf47fd19 ra7961271  
    3636#define KERN_sparc64_REGDEF_H_
    3737
    38 #define PSTATE_IE_BIT   2
    39 #define PSTATE_AM_BIT   8
     38#define PSTATE_IE_BIT   (1<<1)
     39#define PSTATE_AM_BIT   (1<<3)
    4040
    4141#define PSTATE_AG_BIT   (1<<0)
     
    4343#define PSTATE_MG_BIT   (1<<10)
    4444
     45#define PSTATE_PRIV_BIT (1<<2)
     46
     47#define TSTATE_PSTATE_SHIFT     8
     48#define TSTATE_PRIV_BIT         (PSTATE_PRIV_BIT<<TSTATE_PSTATE_SHIFT)
     49
     50#define TSTATE_CWP_MASK         0x1f
     51
    4552#endif
    4653
Note: See TracChangeset for help on using the changeset viewer.