Add a sys/procfs.h.
Needed for building gdbserver out of the box. Bug: http://b/21695943 Bug: https://code.google.com/p/android/issues/detail?id=86712 Change-Id: Ieadda2b595f08bfddfa61fcd68006b8e7c1a438d
This commit is contained in:
committed by
Elliott Hughes
parent
9ef26a3c4c
commit
bf18c61798
@@ -59,6 +59,7 @@ enum {
|
||||
|
||||
typedef int greg_t;
|
||||
typedef greg_t gregset_t[NGREG];
|
||||
typedef struct user_fpregs fpregset_t;
|
||||
|
||||
#include <asm/sigcontext.h>
|
||||
typedef struct sigcontext mcontext_t;
|
||||
@@ -82,6 +83,13 @@ typedef struct ucontext {
|
||||
typedef unsigned long greg_t;
|
||||
typedef greg_t gregset_t[NGREG];
|
||||
|
||||
struct user_fpsimd_state {
|
||||
long double vregs[32];
|
||||
uint32_t fpsr;
|
||||
uint32_t fpcr;
|
||||
};
|
||||
typedef struct user_fpsimd_state fpregset_t;
|
||||
|
||||
#include <asm/sigcontext.h>
|
||||
typedef struct sigcontext mcontext_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user