root/include/asm-sparc/processor.h

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

INCLUDED FROM


   1 /* include/asm-sparc/processor.h
   2  *
   3  * Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu)
   4  */
   5 
   6 #ifndef __ASM_SPARC_PROCESSOR_H
   7 #define __ASM_SPARC_PROCESSOR_H
   8 
   9 /*
  10  * Bus types
  11  */
  12 extern int EISA_bus;
  13 #define MCA_bus 0
  14 
  15 /*
  16  * User space process size: 3GB. This is hardcoded into a few places,
  17  * so don't change it unless you know what you are doing.
  18  *
  19  * "this is gonna have to change to 1gig for the sparc" - David S. Miller
  20  */
  21 #define TASK_SIZE       0xc0000000
  22 
  23 /*
  24  * Size of io_bitmap in longwords: 32 is ports 0-0x3ff.
  25  */
  26 #define IO_BITMAP_SIZE  32
  27 
  28 struct thread_struct {
  29         unsigned long ksp;          /* kernel stack pointer */
  30         unsigned long usp;          /* user's sp, throw reg windows here */
  31         unsigned long ptbr;
  32         unsigned int pcc;
  33         unsigned int asn;
  34         unsigned long unique;
  35         unsigned long flags;
  36         unsigned long res1, res2;
  37 };
  38 
  39 #define INIT_TSS  { \
  40         0, 0, 0, \
  41         0, 0, 0, \
  42         0, 0, 0, \
  43 }
  44 
  45 #endif /* __ASM_SPARC_PROCESSOR_H */
  46 

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