diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2016-04-30 19:18:17 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-05-08 22:57:40 -0400 |
commit | c0ede9e4046a0882d83ae4b45c7dfac86fb7c15d (patch) | |
tree | 02956e3cc93a50bcc9c946fbc2bbffb883e72f2f /arch/powerpc64/bits/user.h | |
parent | 6bc7d9c411c3a32cfa9d239b73fffb2ba66dd9ff (diff) | |
download | musl-c0ede9e4046a0882d83ae4b45c7dfac86fb7c15d.tar.gz musl-c0ede9e4046a0882d83ae4b45c7dfac86fb7c15d.tar.bz2 musl-c0ede9e4046a0882d83ae4b45c7dfac86fb7c15d.tar.xz musl-c0ede9e4046a0882d83ae4b45c7dfac86fb7c15d.zip |
add powerpc64 port
Diffstat (limited to 'arch/powerpc64/bits/user.h')
-rw-r--r-- | arch/powerpc64/bits/user.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/powerpc64/bits/user.h b/arch/powerpc64/bits/user.h new file mode 100644 index 00000000..7ca459b3 --- /dev/null +++ b/arch/powerpc64/bits/user.h @@ -0,0 +1,25 @@ +struct pt_regs { + unsigned long gpr[32], nip, msr, orig_gpr3, ctr, link, xer, ccr, softe; + unsigned long trap, dar, dsisr, result; +}; + +struct user { + struct pt_regs 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]; |