From ab797cb4fded31cd30f4cd778f0b850c6801e7db Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 26 Nov 2013 17:57:31 -0800 Subject: [PATCH] Finish . Change-Id: I1d97d7fa3d5be2ff4728571ed5376705a27091ec --- libc/include/sys/user.h | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/libc/include/sys/user.h b/libc/include/sys/user.h index fb98939ab..1a25ac176 100644 --- a/libc/include/sys/user.h +++ b/libc/include/sys/user.h @@ -79,7 +79,7 @@ struct user_regs_struct { 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 @@ struct user{ 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 @@ struct user { 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 @@ struct user_fp { 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 @@ struct user{ 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__)