From 4b75f4ed8d08b26d4bf2ac96191b395218ad888e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 25 Nov 2012 22:28:18 -0500 Subject: make sys/procfs.h mostly work on most archs these structures are purely for use by trace/debug tools and tools working with core files. the definition of fpregset_t, which was previously here, has been removed because it was wrong; fpregset_t should be the type used in mcontext_t, not the type used in ptrace/core stuff. --- arch/arm/bits/user.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'arch/arm/bits') diff --git a/arch/arm/bits/user.h b/arch/arm/bits/user.h index d5f1deaa..9df7a9ad 100644 --- a/arch/arm/bits/user.h +++ b/arch/arm/bits/user.h @@ -1,4 +1,4 @@ -struct user_fpregs { +typedef struct user_fpregs { struct fp_reg { unsigned sign1:1; unsigned unused:15; @@ -12,11 +12,13 @@ struct user_fpregs { unsigned fpcr:32; unsigned char ftype[8]; unsigned int init_flag; -}; +} elf_fpregset_t; struct user_regs { unsigned long uregs[18]; }; +#define ELF_NGREG 18 +typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG]; struct user { struct user_regs regs; -- cgit v1.2.1