diff options
author | Richard Pennington <rich@pennware.com> | 2012-11-09 23:32:57 +0100 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2012-11-13 18:15:10 +0100 |
commit | 7669d1e334e6b96455eece78da43bf830b93d697 (patch) | |
tree | 6649acfaa61ec6780498b55fa8015ca4f7a6cdae /arch/ppc/bits/user.h | |
parent | 1e717ea3d2a864e00e507f1a70a892c551955f1b (diff) | |
download | musl-7669d1e334e6b96455eece78da43bf830b93d697.tar.gz musl-7669d1e334e6b96455eece78da43bf830b93d697.tar.bz2 musl-7669d1e334e6b96455eece78da43bf830b93d697.tar.xz musl-7669d1e334e6b96455eece78da43bf830b93d697.zip |
import preliminary ppc work by rdp.
Diffstat (limited to 'arch/ppc/bits/user.h')
-rw-r--r-- | arch/ppc/bits/user.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/ppc/bits/user.h b/arch/ppc/bits/user.h new file mode 100644 index 00000000..c533fd8d --- /dev/null +++ b/arch/ppc/bits/user.h @@ -0,0 +1,40 @@ +struct user_fpregs_struct +{ + struct fp_reg { + unsigned sign1:1; + unsigned unused:15; + unsigned sign2:1; + unsigned exponent:14; + unsigned j:1; + unsigned mantissa1:31; + unsigned mantissa0:32; + } fpregs[8]; + unsigned fpsr:32; + unsigned fpcr:32; + unsigned char ftype[8]; + unsigned int init_flag; +}; + +struct user_regs_struct +{ + unsigned long uregs[18]; +}; + +struct user +{ + struct user_regs_struct regs; + int u_fpvalid; + unsigned long u_tsize; + unsigned long u_dsize; + unsigned long u_ssize; + unsigned long start_code; + unsigned long start_stack; + long signal; + int reserved; + struct user_regs_struct *u_ar0; + unsigned long int magic; + char u_comm[32]; + int u_debugreg[8]; + struct user_fpregs_struct u_fp; + struct user_fpregs_struct *u_fp0; +}; |