Add the missing aarch64 user structs.

Bug: http://b/23377194
Change-Id: I7d36717e129d2e044dc2cf24de4227c3bcdd60ce
This commit is contained in:
Elliott Hughes 2015-08-25 14:18:26 -07:00
parent 53f2abb5ff
commit 03f22465ae
2 changed files with 11 additions and 7 deletions
libc/include/sys

@ -82,12 +82,6 @@ typedef struct ucontext {
#define NGREG 34 /* x0..x30 + sp + pc + pstate */
typedef unsigned long greg_t;
typedef greg_t gregset_t[NGREG];
struct user_fpsimd_struct {
long double vregs[32];
uint32_t fpsr;
uint32_t fpcr;
};
typedef struct user_fpsimd_struct fpregset_t;
#include <asm/sigcontext.h>

@ -232,7 +232,17 @@ struct user {
#elif defined(__aarch64__)
// There are no user structures for 64 bit arm.
struct user_regs_struct {
uint64_t regs[31];
uint64_t sp;
uint64_t pc;
uint64_t pstate;
};
struct user_fpsimd_struct {
__uint128_t vregs[32];
uint32_t fpsr;
uint32_t fpcr;
};
#else