[PATCH] simplify PARPORT_PC_PCMCIA dependencies
[linux/fpc-iii.git] / include / asm-mips / reg.h
blob6173004cc88ec72f443f617fdbf17b3a7ad3a32a
1 /*
2 * Various register offset definitions for debuggers, core file
3 * examiners and whatnot.
5 * This file is subject to the terms and conditions of the GNU General Public
6 * License. See the file "COPYING" in the main directory of this archive
7 * for more details.
9 * Copyright (C) 1995, 1999 Ralf Baechle
10 * Copyright (C) 1995, 1999 Silicon Graphics
12 #ifndef __ASM_MIPS_REG_H
13 #define __ASM_MIPS_REG_H
15 #include <linux/config.h>
17 #if defined(CONFIG_32BIT) || defined(WANT_COMPAT_REG_H)
19 #define EF_R0 6
20 #define EF_R1 7
21 #define EF_R2 8
22 #define EF_R3 9
23 #define EF_R4 10
24 #define EF_R5 11
25 #define EF_R6 12
26 #define EF_R7 13
27 #define EF_R8 14
28 #define EF_R9 15
29 #define EF_R10 16
30 #define EF_R11 17
31 #define EF_R12 18
32 #define EF_R13 19
33 #define EF_R14 20
34 #define EF_R15 21
35 #define EF_R16 22
36 #define EF_R17 23
37 #define EF_R18 24
38 #define EF_R19 25
39 #define EF_R20 26
40 #define EF_R21 27
41 #define EF_R22 28
42 #define EF_R23 29
43 #define EF_R24 30
44 #define EF_R25 31
47 * k0/k1 unsaved
49 #define EF_R26 32
50 #define EF_R27 33
52 #define EF_R28 34
53 #define EF_R29 35
54 #define EF_R30 36
55 #define EF_R31 37
58 * Saved special registers
60 #define EF_LO 38
61 #define EF_HI 39
63 #define EF_CP0_EPC 40
64 #define EF_CP0_BADVADDR 41
65 #define EF_CP0_STATUS 42
66 #define EF_CP0_CAUSE 43
67 #define EF_UNUSED0 44
69 #define EF_SIZE 180
71 #endif
73 #ifdef CONFIG_64BIT
75 #define EF_R0 0
76 #define EF_R1 1
77 #define EF_R2 2
78 #define EF_R3 3
79 #define EF_R4 4
80 #define EF_R5 5
81 #define EF_R6 6
82 #define EF_R7 7
83 #define EF_R8 8
84 #define EF_R9 9
85 #define EF_R10 10
86 #define EF_R11 11
87 #define EF_R12 12
88 #define EF_R13 13
89 #define EF_R14 14
90 #define EF_R15 15
91 #define EF_R16 16
92 #define EF_R17 17
93 #define EF_R18 18
94 #define EF_R19 19
95 #define EF_R20 20
96 #define EF_R21 21
97 #define EF_R22 22
98 #define EF_R23 23
99 #define EF_R24 24
100 #define EF_R25 25
103 * k0/k1 unsaved
105 #define EF_R26 26
106 #define EF_R27 27
109 #define EF_R28 28
110 #define EF_R29 29
111 #define EF_R30 30
112 #define EF_R31 31
115 * Saved special registers
117 #define EF_LO 32
118 #define EF_HI 33
120 #define EF_CP0_EPC 34
121 #define EF_CP0_BADVADDR 35
122 #define EF_CP0_STATUS 36
123 #define EF_CP0_CAUSE 37
125 #define EF_SIZE 304 /* size in bytes */
127 #endif /* CONFIG_64BIT */
129 #endif /* __ASM_MIPS_REG_H */