diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-mips/reg.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-mips/reg.h')
-rw-r--r-- | include/asm-mips/reg.h | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/include/asm-mips/reg.h b/include/asm-mips/reg.h new file mode 100644 index 000000000000..7b33bbca9585 --- /dev/null +++ b/include/asm-mips/reg.h | |||
@@ -0,0 +1,129 @@ | |||
1 | /* | ||
2 | * Various register offset definitions for debuggers, core file | ||
3 | * examiners and whatnot. | ||
4 | * | ||
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. | ||
8 | * | ||
9 | * Copyright (C) 1995, 1999 Ralf Baechle | ||
10 | * Copyright (C) 1995, 1999 Silicon Graphics | ||
11 | */ | ||
12 | #ifndef __ASM_MIPS_REG_H | ||
13 | #define __ASM_MIPS_REG_H | ||
14 | |||
15 | #include <linux/config.h> | ||
16 | |||
17 | #if defined(CONFIG_MIPS32) || defined(WANT_COMPAT_REG_H) | ||
18 | |||
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 | ||
45 | |||
46 | /* | ||
47 | * k0/k1 unsaved | ||
48 | */ | ||
49 | #define EF_R26 32 | ||
50 | #define EF_R27 33 | ||
51 | |||
52 | #define EF_R28 34 | ||
53 | #define EF_R29 35 | ||
54 | #define EF_R30 36 | ||
55 | #define EF_R31 37 | ||
56 | |||
57 | /* | ||
58 | * Saved special registers | ||
59 | */ | ||
60 | #define EF_LO 38 | ||
61 | #define EF_HI 39 | ||
62 | |||
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 | ||
68 | |||
69 | #define EF_SIZE 180 | ||
70 | |||
71 | #endif | ||
72 | |||
73 | #if CONFIG_MIPS64 | ||
74 | |||
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 | ||
101 | |||
102 | /* | ||
103 | * k0/k1 unsaved | ||
104 | */ | ||
105 | #define EF_R26 26 | ||
106 | #define EF_R27 27 | ||
107 | |||
108 | |||
109 | #define EF_R28 28 | ||
110 | #define EF_R29 29 | ||
111 | #define EF_R30 30 | ||
112 | #define EF_R31 31 | ||
113 | |||
114 | /* | ||
115 | * Saved special registers | ||
116 | */ | ||
117 | #define EF_LO 32 | ||
118 | #define EF_HI 33 | ||
119 | |||
120 | #define EF_CP0_EPC 34 | ||
121 | #define EF_CP0_BADVADDR 35 | ||
122 | #define EF_CP0_STATUS 36 | ||
123 | #define EF_CP0_CAUSE 37 | ||
124 | |||
125 | #define EF_SIZE 304 /* size in bytes */ | ||
126 | |||
127 | #endif /* CONFIG_MIPS64 */ | ||
128 | |||
129 | #endif /* __ASM_MIPS_REG_H */ | ||