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

Side by Side Diff: fusl/arch/powerpc/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 struct pt_regs { 1 struct pt_regs {
2 » unsigned long gpr[32], nip, msr, orig_gpr3, ctr, link, xer, ccr, mq; 2 unsigned long gpr[32], nip, msr, orig_gpr3, ctr, link, xer, ccr, mq;
3 » unsigned long trap, dar, dsisr, result; 3 unsigned long trap, dar, dsisr, result;
4 }; 4 };
5 5
6 struct user { 6 struct user {
7 » struct pt_regs regs; 7 struct pt_regs regs;
8 » unsigned long u_tsize, u_dsize, u_ssize; 8 unsigned long u_tsize, u_dsize, u_ssize;
9 » unsigned long start_code, start_data, start_stack; 9 unsigned long start_code, start_data, start_stack;
10 » long signal; 10 long signal;
11 » void *u_ar0; 11 void* u_ar0;
12 » unsigned long magic; 12 unsigned long magic;
13 » char u_comm[32]; 13 char u_comm[32];
14 }; 14 };
15 15
16 #define ELF_NGREG 48 16 #define ELF_NGREG 48
17 #define ELF_NFPREG 33 17 #define ELF_NFPREG 33
18 #define ELF_NVRREG 33 18 #define ELF_NVRREG 33
19 typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG]; 19 typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
20 typedef double elf_fpreg_t, elf_fpregset_t[ELF_NFPREG]; 20 typedef double elf_fpreg_t, elf_fpregset_t[ELF_NFPREG];
21 typedef struct { unsigned u[4]; } 21 typedef struct {
22 unsigned u[4];
23 }
22 #ifdef __GNUC__ 24 #ifdef __GNUC__
23 __attribute__((__aligned__(16))) 25 __attribute__((__aligned__(16)))
24 #endif 26 #endif
25 » elf_vrreg_t, elf_vrregset_t[ELF_NVRREG]; 27 elf_vrreg_t,
28 elf_vrregset_t[ELF_NVRREG];
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698