Finish <sys/user.h>.
Change-Id: I1d97d7fa3d5be2ff4728571ed5376705a27091ec
diff --git a/libc/include/sys/user.h b/libc/include/sys/user.h
index fb98939..1a25ac1 100644
--- a/libc/include/sys/user.h
+++ b/libc/include/sys/user.h
@@ -79,7 +79,7 @@
unsigned long sp;
unsigned long ss;
};
-struct user{
+struct user {
struct user_regs_struct regs;
int u_fpvalid;
struct user_i387_struct i387;
@@ -91,7 +91,7 @@
long int signal;
int reserved;
unsigned long u_ar0;
- struct user_i387_struct *u_fpstate;
+ struct user_i387_struct* u_fpstate;
unsigned long magic;
char u_comm[32];
int u_debugreg[8];
@@ -155,7 +155,7 @@
int reserved;
int pad1;
unsigned long u_ar0;
- struct user_i387_struct *u_fpstate;
+ struct user_i387_struct* u_fpstate;
unsigned long magic;
char u_comm[32];
unsigned long u_debugreg[8];
@@ -196,7 +196,16 @@
unsigned char ftype[8];
unsigned int init_flag;
};
-struct user{
+struct user_vfp {
+ unsigned long long fpregs[32];
+ unsigned long fpscr;
+};
+struct user_vfp_exc {
+ unsigned long fpexc;
+ unsigned long fpinst;
+ unsigned long fpinst2;
+};
+struct user {
struct pt_regs regs;
int u_fpvalid;
unsigned long int u_tsize;
@@ -211,7 +220,7 @@
char u_comm[32];
int u_debugreg[8];
struct user_fp u_fp;
- struct user_fp_struct * u_fp0;
+ struct user_fp_struct* u_fp0;
};
#elif defined(__aarch64__)