Merge "Add the missing aarch64 user structs."
This commit is contained in:
commit
4d5c4f085b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user