diff options
Diffstat (limited to 'libc-top-half/musl/arch/powerpc64/bits/user.h')
-rw-r--r-- | libc-top-half/musl/arch/powerpc64/bits/user.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libc-top-half/musl/arch/powerpc64/bits/user.h b/libc-top-half/musl/arch/powerpc64/bits/user.h new file mode 100644 index 0000000..7e75d20 --- /dev/null +++ b/libc-top-half/musl/arch/powerpc64/bits/user.h @@ -0,0 +1,23 @@ +struct user { + struct { + unsigned long gpr[32], nip, msr, orig_gpr3, ctr, link, xer, ccr, softe; + unsigned long trap, dar, dsisr, result; + } regs; + unsigned long u_tsize, u_dsize, u_ssize; + unsigned long start_code, start_data, start_stack; + long signal; + void *u_ar0; + unsigned long magic; + char u_comm[32]; +}; + +#define ELF_NGREG 48 +#define ELF_NFPREG 33 +#define ELF_NVRREG 34 +typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG]; +typedef double elf_fpreg_t, elf_fpregset_t[ELF_NFPREG]; +typedef struct { unsigned u[4]; } +#ifdef __GNUC__ +__attribute__((__aligned__(16))) +#endif + elf_vrreg_t, elf_vrregset_t[ELF_NVRREG]; |