root/include/asm-sparc/head.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #define KERNSIZE        134217728
   2 #define KERNBASE        0           /* new strategy */
   3 #define LOAD_ADDR       0x4000
   4 #define C_STACK         96
   5 #define SUN4C_SEGSZ     (1 << 18)
   6 #define NBPG            4096    
   7 #define UPAGES          2
   8 #define PROM_BASE       -1568768
   9 #define PAGESHIFT_SUN4C 12          /* This is good for sun4m's also */
  10 #define ASI_CONTROL     0x02        /* for cache enable, context registers, etc. */
  11 #define ASI_SEGMAP      0x03
  12 #define ASI_PTE         0x04
  13 #define AC_CONTEXT      0x30000000
  14 #define USRSTACK        KERNBASE
  15 #define IE_REG_PTE_PG   -201326592
  16 #define INT_ENABLE_REG_PHYSADR      0xf5000000
  17 #define IE_ALLIE        0x01
  18 
  19 /* This crap should go elsewhere */
  20 
  21 #define PSR_IMPL        0xf0000000      /* implementation */
  22 #define PSR_VER         0x0f000000      /* version */
  23 #define PSR_ICC         0x00f00000      /* integer condition codes */
  24 #define PSR_N           0x00800000      /* negative */
  25 #define PSR_Z           0x00400000      /* zero */
  26 #define PSR_O           0x00200000      /* overflow */
  27 #define PSR_C           0x00100000      /* carry */
  28 #define PSR_EC          0x00002000      /* coprocessor enable */
  29 #define PSR_EF          0x00001000      /* FP enable */
  30 #define PSR_PIL         0x00000f00      /* interrupt level */
  31 #define PSR_S           0x00000080      /* supervisor (kernel) mode */
  32 #define PSR_PS          0x00000040      /* previous supervisor mode (traps) */
  33 #define PSR_ET          0x00000020      /* trap enable */
  34 #define PSR_CWP         0x0000001f      /* current window pointer */
  35 
  36 #define PCB_WIM         20
  37 
  38 #define HZ              100
  39 
  40 /* Offsets into the proc structure for window info, etc. Just dummies
  41    for now.
  42 */
  43 
  44 #define TASK_WIM      0x8
  45 #define TASK_UW       0x16
  46 #define TASK_SIZE     8192
  47 #define TASK_RW       0x32
  48 #define TASK_NSAVED   0x40
  49 #define PG_VSHIFT     0x16
  50 #define PG_PROTSHIFT  0x6
  51 #define PG_PROTUWRITE 0x4

/* [previous][next][first][last][top][bottom][index][help] */