diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-07-14 09:58:54 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-14 10:02:09 +0200 |
commit | 63506c41986c4af9d4fd6f3490e98e335f3dc8f5 (patch) | |
tree | 6d817aedf37a004c12713a0b594387b9dadd59ea /include/asm-s390/ptrace.h | |
parent | ae437a452ed20f9d13c1f17b0356201d54394efa (diff) | |
download | kernel_goldelico_gta04-63506c41986c4af9d4fd6f3490e98e335f3dc8f5.zip kernel_goldelico_gta04-63506c41986c4af9d4fd6f3490e98e335f3dc8f5.tar.gz kernel_goldelico_gta04-63506c41986c4af9d4fd6f3490e98e335f3dc8f5.tar.bz2 |
[S390] Introduce user_regset accessors for s390
Add the user_regset definitions for normal and compat processes, replace
the dump_regs core dump cruft with the generic CORE_DUMP_USER_REGSET and
replace binfmt_elf32.c with the generic compat_binfmt_elf.c implementation.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'include/asm-s390/ptrace.h')
-rw-r--r-- | include/asm-s390/ptrace.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-s390/ptrace.h b/include/asm-s390/ptrace.h index d7d4e2e..af2c9ac 100644 --- a/include/asm-s390/ptrace.h +++ b/include/asm-s390/ptrace.h @@ -215,6 +215,12 @@ typedef struct unsigned long addr; } __attribute__ ((aligned(8))) psw_t; +typedef struct +{ + __u32 mask; + __u32 addr; +} __attribute__ ((aligned(8))) psw_compat_t; + #ifndef __s390x__ #define PSW_MASK_PER 0x40000000UL @@ -292,6 +298,15 @@ typedef struct unsigned long orig_gpr2; } s390_regs; +typedef struct +{ + psw_compat_t psw; + __u32 gprs[NUM_GPRS]; + __u32 acrs[NUM_ACRS]; + __u32 orig_gpr2; +} s390_compat_regs; + + #ifdef __KERNEL__ #include <asm/setup.h> #include <asm/page.h> |