am 4d5c4f08: Merge "Add the missing aarch64 user structs."

* commit '4d5c4f085bc880af838d50f6bbd60d86e800b6e1':
  Add the missing aarch64 user structs.
This commit is contained in:
Elliott Hughes 2015-08-26 18:42:45 +00:00 committed by Android Git Automerger
commit 5f55f32e49
2 changed files with 11 additions and 7 deletions

View File

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

View File

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