• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef __UAPI_ASM_MIPS_REG_H
20 #define __UAPI_ASM_MIPS_REG_H
21 #define MIPS32_EF_R0 6
22 #define MIPS32_EF_R1 7
23 #define MIPS32_EF_R2 8
24 #define MIPS32_EF_R3 9
25 #define MIPS32_EF_R4 10
26 #define MIPS32_EF_R5 11
27 #define MIPS32_EF_R6 12
28 #define MIPS32_EF_R7 13
29 #define MIPS32_EF_R8 14
30 #define MIPS32_EF_R9 15
31 #define MIPS32_EF_R10 16
32 #define MIPS32_EF_R11 17
33 #define MIPS32_EF_R12 18
34 #define MIPS32_EF_R13 19
35 #define MIPS32_EF_R14 20
36 #define MIPS32_EF_R15 21
37 #define MIPS32_EF_R16 22
38 #define MIPS32_EF_R17 23
39 #define MIPS32_EF_R18 24
40 #define MIPS32_EF_R19 25
41 #define MIPS32_EF_R20 26
42 #define MIPS32_EF_R21 27
43 #define MIPS32_EF_R22 28
44 #define MIPS32_EF_R23 29
45 #define MIPS32_EF_R24 30
46 #define MIPS32_EF_R25 31
47 #define MIPS32_EF_R26 32
48 #define MIPS32_EF_R27 33
49 #define MIPS32_EF_R28 34
50 #define MIPS32_EF_R29 35
51 #define MIPS32_EF_R30 36
52 #define MIPS32_EF_R31 37
53 #define MIPS32_EF_LO 38
54 #define MIPS32_EF_HI 39
55 #define MIPS32_EF_CP0_EPC 40
56 #define MIPS32_EF_CP0_BADVADDR 41
57 #define MIPS32_EF_CP0_STATUS 42
58 #define MIPS32_EF_CP0_CAUSE 43
59 #define MIPS32_EF_UNUSED0 44
60 #define MIPS32_EF_SIZE 180
61 #define MIPS64_EF_R0 0
62 #define MIPS64_EF_R1 1
63 #define MIPS64_EF_R2 2
64 #define MIPS64_EF_R3 3
65 #define MIPS64_EF_R4 4
66 #define MIPS64_EF_R5 5
67 #define MIPS64_EF_R6 6
68 #define MIPS64_EF_R7 7
69 #define MIPS64_EF_R8 8
70 #define MIPS64_EF_R9 9
71 #define MIPS64_EF_R10 10
72 #define MIPS64_EF_R11 11
73 #define MIPS64_EF_R12 12
74 #define MIPS64_EF_R13 13
75 #define MIPS64_EF_R14 14
76 #define MIPS64_EF_R15 15
77 #define MIPS64_EF_R16 16
78 #define MIPS64_EF_R17 17
79 #define MIPS64_EF_R18 18
80 #define MIPS64_EF_R19 19
81 #define MIPS64_EF_R20 20
82 #define MIPS64_EF_R21 21
83 #define MIPS64_EF_R22 22
84 #define MIPS64_EF_R23 23
85 #define MIPS64_EF_R24 24
86 #define MIPS64_EF_R25 25
87 #define MIPS64_EF_R26 26
88 #define MIPS64_EF_R27 27
89 #define MIPS64_EF_R28 28
90 #define MIPS64_EF_R29 29
91 #define MIPS64_EF_R30 30
92 #define MIPS64_EF_R31 31
93 #define MIPS64_EF_LO 32
94 #define MIPS64_EF_HI 33
95 #define MIPS64_EF_CP0_EPC 34
96 #define MIPS64_EF_CP0_BADVADDR 35
97 #define MIPS64_EF_CP0_STATUS 36
98 #define MIPS64_EF_CP0_CAUSE 37
99 #define MIPS64_EF_SIZE 304
100 #if _MIPS_SIM == _MIPS_SIM_ABI32
101 #define EF_R0 MIPS32_EF_R0
102 #define EF_R1 MIPS32_EF_R1
103 #define EF_R2 MIPS32_EF_R2
104 #define EF_R3 MIPS32_EF_R3
105 #define EF_R4 MIPS32_EF_R4
106 #define EF_R5 MIPS32_EF_R5
107 #define EF_R6 MIPS32_EF_R6
108 #define EF_R7 MIPS32_EF_R7
109 #define EF_R8 MIPS32_EF_R8
110 #define EF_R9 MIPS32_EF_R9
111 #define EF_R10 MIPS32_EF_R10
112 #define EF_R11 MIPS32_EF_R11
113 #define EF_R12 MIPS32_EF_R12
114 #define EF_R13 MIPS32_EF_R13
115 #define EF_R14 MIPS32_EF_R14
116 #define EF_R15 MIPS32_EF_R15
117 #define EF_R16 MIPS32_EF_R16
118 #define EF_R17 MIPS32_EF_R17
119 #define EF_R18 MIPS32_EF_R18
120 #define EF_R19 MIPS32_EF_R19
121 #define EF_R20 MIPS32_EF_R20
122 #define EF_R21 MIPS32_EF_R21
123 #define EF_R22 MIPS32_EF_R22
124 #define EF_R23 MIPS32_EF_R23
125 #define EF_R24 MIPS32_EF_R24
126 #define EF_R25 MIPS32_EF_R25
127 #define EF_R26 MIPS32_EF_R26
128 #define EF_R27 MIPS32_EF_R27
129 #define EF_R28 MIPS32_EF_R28
130 #define EF_R29 MIPS32_EF_R29
131 #define EF_R30 MIPS32_EF_R30
132 #define EF_R31 MIPS32_EF_R31
133 #define EF_LO MIPS32_EF_LO
134 #define EF_HI MIPS32_EF_HI
135 #define EF_CP0_EPC MIPS32_EF_CP0_EPC
136 #define EF_CP0_BADVADDR MIPS32_EF_CP0_BADVADDR
137 #define EF_CP0_STATUS MIPS32_EF_CP0_STATUS
138 #define EF_CP0_CAUSE MIPS32_EF_CP0_CAUSE
139 #define EF_UNUSED0 MIPS32_EF_UNUSED0
140 #define EF_SIZE MIPS32_EF_SIZE
141 #elif _MIPS_SIM==_MIPS_SIM_ABI64||_MIPS_SIM==_MIPS_SIM_NABI32
142 #define EF_R0 MIPS64_EF_R0
143 #define EF_R1 MIPS64_EF_R1
144 #define EF_R2 MIPS64_EF_R2
145 #define EF_R3 MIPS64_EF_R3
146 #define EF_R4 MIPS64_EF_R4
147 #define EF_R5 MIPS64_EF_R5
148 #define EF_R6 MIPS64_EF_R6
149 #define EF_R7 MIPS64_EF_R7
150 #define EF_R8 MIPS64_EF_R8
151 #define EF_R9 MIPS64_EF_R9
152 #define EF_R10 MIPS64_EF_R10
153 #define EF_R11 MIPS64_EF_R11
154 #define EF_R12 MIPS64_EF_R12
155 #define EF_R13 MIPS64_EF_R13
156 #define EF_R14 MIPS64_EF_R14
157 #define EF_R15 MIPS64_EF_R15
158 #define EF_R16 MIPS64_EF_R16
159 #define EF_R17 MIPS64_EF_R17
160 #define EF_R18 MIPS64_EF_R18
161 #define EF_R19 MIPS64_EF_R19
162 #define EF_R20 MIPS64_EF_R20
163 #define EF_R21 MIPS64_EF_R21
164 #define EF_R22 MIPS64_EF_R22
165 #define EF_R23 MIPS64_EF_R23
166 #define EF_R24 MIPS64_EF_R24
167 #define EF_R25 MIPS64_EF_R25
168 #define EF_R26 MIPS64_EF_R26
169 #define EF_R27 MIPS64_EF_R27
170 #define EF_R28 MIPS64_EF_R28
171 #define EF_R29 MIPS64_EF_R29
172 #define EF_R30 MIPS64_EF_R30
173 #define EF_R31 MIPS64_EF_R31
174 #define EF_LO MIPS64_EF_LO
175 #define EF_HI MIPS64_EF_HI
176 #define EF_CP0_EPC MIPS64_EF_CP0_EPC
177 #define EF_CP0_BADVADDR MIPS64_EF_CP0_BADVADDR
178 #define EF_CP0_STATUS MIPS64_EF_CP0_STATUS
179 #define EF_CP0_CAUSE MIPS64_EF_CP0_CAUSE
180 #define EF_SIZE MIPS64_EF_SIZE
181 #endif
182 #endif
183