Rollback 10525: MIPS: Add signal context definitions for use with Android.
TBR=ulan@chromium.org BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/9232046 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10527 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
a538072a08
commit
a890d245b4
@ -944,37 +944,6 @@ typedef struct ucontext {
|
|||||||
} ucontext_t;
|
} ucontext_t;
|
||||||
enum ArmRegisters {R15 = 15, R13 = 13, R11 = 11};
|
enum ArmRegisters {R15 = 15, R13 = 13, R11 = 11};
|
||||||
|
|
||||||
#elif !defined(__GLIBC__) && defined(__mips__)
|
|
||||||
struct sigcontext {
|
|
||||||
unsigned int regmask;
|
|
||||||
unsigned int status;
|
|
||||||
unsigned long long pc;
|
|
||||||
unsigned long long gregs[32];
|
|
||||||
unsigned long long fpregs[32];
|
|
||||||
unsigned int acx;
|
|
||||||
unsigned int fpc_csr;
|
|
||||||
unsigned int fpc_eir;
|
|
||||||
unsigned int used_math;
|
|
||||||
unsigned int dsp;
|
|
||||||
unsigned long long mdhi;
|
|
||||||
unsigned long long mdlo;
|
|
||||||
unsigned long hi1;
|
|
||||||
unsigned long lo1;
|
|
||||||
unsigned long hi2;
|
|
||||||
unsigned long lo2;
|
|
||||||
unsigned long hi3;
|
|
||||||
unsigned long lo3;
|
|
||||||
};
|
|
||||||
typedef uint32_t __sigset_t;
|
|
||||||
typedef struct sigcontext mcontext_t;
|
|
||||||
typedef struct ucontext {
|
|
||||||
uint32_t uc_flags;
|
|
||||||
struct ucontext* uc_link;
|
|
||||||
stack_t uc_stack;
|
|
||||||
mcontext_t uc_mcontext;
|
|
||||||
__sigset_t uc_sigmask;
|
|
||||||
} ucontext_t;
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user