File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed
ndk/platforms/android-21/include/sys Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,25 @@ typedef struct fpregset {
180
180
} fp_r ;
181
181
} fpregset_t ;
182
182
183
+ #ifdef __LP64__
184
+ typedef struct {
185
+ gregset_t gregs ;
186
+ fpregset_t fpregs ;
187
+ greg_t mdhi ;
188
+ greg_t hi1 ;
189
+ greg_t hi2 ;
190
+ greg_t hi3 ;
191
+ greg_t mdlo ;
192
+ greg_t lo1 ;
193
+ greg_t lo2 ;
194
+ greg_t lo3 ;
195
+ greg_t pc ;
196
+ uint32_t fpc_csr ;
197
+ uint32_t used_math ;
198
+ uint32_t dsp ;
199
+ uint32_t reserved ;
200
+ } mcontext_t ;
201
+ #else
183
202
typedef struct {
184
203
unsigned regmask ;
185
204
unsigned status ;
@@ -200,6 +219,7 @@ typedef struct {
200
219
unsigned long hi3 ;
201
220
unsigned long lo3 ;
202
221
} mcontext_t ;
222
+ #endif
203
223
204
224
typedef struct ucontext {
205
225
unsigned long uc_flags ;
@@ -209,10 +229,6 @@ typedef struct ucontext {
209
229
sigset_t uc_sigmask ;
210
230
} ucontext_t ;
211
231
212
- #elif defined(__mips64__ )
213
-
214
- #error TODO
215
-
216
232
#elif defined(__x86_64__ )
217
233
218
234
enum {
You can’t perform that action at this time.
0 commit comments