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:
Dan Albert
2015-03-04 10:31:29 -08:00
committed by Elliott Hughes
parent 9ef26a3c4c
commit bf18c61798
4 changed files with 95 additions and 0 deletions

View File

@@ -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;