1
2
3
4
5
6 #ifndef __ASM_SPARC_PROCESSOR_H
7 #define __ASM_SPARC_PROCESSOR_H
8
9
10
11
12 extern int EISA_bus;
13 #define MCA_bus 0
14
15
16
17
18
19
20
21 #define TASK_SIZE 0xc0000000
22
23
24
25
26 #define IO_BITMAP_SIZE 32
27
28 struct thread_struct {
29 unsigned long ksp;
30 unsigned long usp;
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
46