diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-11-23 20:05:43 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-11-23 20:05:43 -0500 |
commit | 4acc95e497956d926bc9b9a0534cc93a73a6d3e1 (patch) | |
tree | 5bc7fa6c77b5a1cd8d9d24fd6c6c3dd72c5fb5fe /arch/arm/bits | |
parent | 98f56b12ceddba183c4fdba881ec753bbeea4e9f (diff) | |
download | musl-4acc95e497956d926bc9b9a0534cc93a73a6d3e1.tar.gz musl-4acc95e497956d926bc9b9a0534cc93a73a6d3e1.tar.xz musl-4acc95e497956d926bc9b9a0534cc93a73a6d3e1.zip |
begin sys/user.h and sys/reg.h fixes for ports
aside from microblaze, these should be roughly correct for all archs now. some misc junk macros and typedefs are missing, which should probably be added for max compatibility with trace/debug tools.
Diffstat (limited to 'arch/arm/bits')
-rw-r--r-- | arch/arm/bits/user.h | 35 |
1 files changed, 14 insertions, 21 deletions
diff --git a/arch/arm/bits/user.h b/arch/arm/bits/user.h index c533fd8d..d5f1deaa 100644 --- a/arch/arm/bits/user.h +++ b/arch/arm/bits/user.h @@ -1,5 +1,4 @@ -struct user_fpregs_struct -{ +struct user_fpregs { struct fp_reg { unsigned sign1:1; unsigned unused:15; @@ -15,26 +14,20 @@ struct user_fpregs_struct unsigned int init_flag; }; -struct user_regs_struct -{ +struct user_regs { 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; +struct user { + struct user_regs regs; + int u_fpvalid; + unsigned long u_tsize, u_dsize, u_ssize; + unsigned long start_code, start_stack; + long signal; + struct user_regs *u_ar0; + unsigned long magic; + char u_comm[32]; + int u_debugreg[8]; + struct user_fpregs u_fp; + struct user_fpregs *u_fp0; }; |