Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(955)

Side by Side Diff: fusl/arch/arm/bits/user.h

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 typedef struct user_fpregs { 1 typedef struct user_fpregs {
2 » struct fp_reg { 2 struct fp_reg {
3 » » unsigned sign1:1; 3 unsigned sign1 : 1;
4 » » unsigned unused:15; 4 unsigned unused : 15;
5 » » unsigned sign2:1; 5 unsigned sign2 : 1;
6 » » unsigned exponent:14; 6 unsigned exponent : 14;
7 » » unsigned j:1; 7 unsigned j : 1;
8 » » unsigned mantissa1:31; 8 unsigned mantissa1 : 31;
9 » » unsigned mantissa0:32; 9 unsigned mantissa0 : 32;
10 » } fpregs[8]; 10 } fpregs[8];
11 » unsigned fpsr:32; 11 unsigned fpsr : 32;
12 » unsigned fpcr:32; 12 unsigned fpcr : 32;
13 » unsigned char ftype[8]; 13 unsigned char ftype[8];
14 » unsigned int init_flag; 14 unsigned int init_flag;
15 } elf_fpregset_t; 15 } elf_fpregset_t;
16 16
17 struct user_regs { 17 struct user_regs {
18 » unsigned long uregs[18]; 18 unsigned long uregs[18];
19 }; 19 };
20 #define ELF_NGREG 18 20 #define ELF_NGREG 18
21 typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG]; 21 typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
22 22
23 struct user { 23 struct user {
24 » struct user_regs regs; 24 struct user_regs regs;
25 » int u_fpvalid; 25 int u_fpvalid;
26 » unsigned long u_tsize, u_dsize, u_ssize; 26 unsigned long u_tsize, u_dsize, u_ssize;
27 » unsigned long start_code, start_stack; 27 unsigned long start_code, start_stack;
28 » long signal; 28 long signal;
29 » int reserved; 29 int reserved;
30 » struct user_regs *u_ar0; 30 struct user_regs* u_ar0;
31 » unsigned long magic; 31 unsigned long magic;
32 » char u_comm[32]; 32 char u_comm[32];
33 » int u_debugreg[8]; 33 int u_debugreg[8];
34 » struct user_fpregs u_fp; 34 struct user_fpregs u_fp;
35 » struct user_fpregs *u_fp0; 35 struct user_fpregs* u_fp0;
36 }; 36 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698