/[zanavi_public1]/navit/navit/coffeecatch.c
ZANavi

Diff of /navit/navit/coffeecatch.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 55 Revision 56
195 195
196#elif defined(__mips__) 196#elif defined(__mips__)
197 197
198/* Taken from Google Breakpad. */ 198/* Taken from Google Breakpad. */
199 199
200
201
202
203// TODO: android studio ----------
204// TODO: android studio ----------
205#if 0
200typedef struct { 206typedef struct {
201 uint32_t regmask; 207 uint32_t regmask;
202 uint32_t status; 208 uint32_t status;
203 uint64_t pc; 209 uint64_t pc;
204 uint64_t gregs[32]; 210 uint64_t gregs[32];
215 uint32_t hi2; 221 uint32_t hi2;
216 uint32_t lo2; 222 uint32_t lo2;
217 uint32_t hi3; 223 uint32_t hi3;
218 uint32_t lo3; 224 uint32_t lo3;
219} mcontext_t; 225} mcontext_t;
226#endif
227// TODO: android studio ----------
228// TODO: android studio ----------
229
230
231
232// TODO: android studio ----------
233// TODO: android studio ----------
234#if 0
235#if defined(__i386__)
236#include <setjmp.h>
237void siglongjmp(jmp_buf env, int val);
238int sigsetjmp(jmp_buf env, int savemask);
239void siglongjmp(jmp_buf env, int val)
240{
241 longjmp(env, val);
242}
243int sigsetjmp(jmp_buf env, int savemask)
244{
245 return setjmp(env);
246}
247#endif
248#endif
249// TODO: android studio ----------
250// TODO: android studio ----------
251
252
253
220 254
221#if !defined(__BIONIC_HAVE_UCONTEXT_T) 255#if !defined(__BIONIC_HAVE_UCONTEXT_T)
222typedef struct ucontext { 256typedef struct ucontext {
223 uint32_t uc_flags; 257 uint32_t uc_flags;
224 struct ucontext* uc_link; 258 struct ucontext* uc_link;

Legend:
Removed from v.55  
changed lines
  Added in v.56

   
Visit the ZANavi Wiki