sh: Provide linux/regset.h interface for SH-5.
Plugs in general and FPU regsets. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -108,13 +108,11 @@ typedef struct user_fpu_struct elf_fpregset_t;
|
||||
#define elf_check_fdpic(x) ((x)->e_flags & EF_SH_FDPIC)
|
||||
#define elf_check_const_displacement(x) ((x)->e_flags & EF_SH_PIC)
|
||||
|
||||
#ifdef CONFIG_SUPERH32
|
||||
/*
|
||||
* Enable dump using regset.
|
||||
* This covers all of general/DSP/FPU regs.
|
||||
*/
|
||||
#define CORE_DUMP_USE_REGSET
|
||||
#endif
|
||||
|
||||
#define USE_ELF_CORE_DUMP
|
||||
#define ELF_FDPIC_CORE_EFLAGS EF_SH_FDPIC
|
||||
|
||||
@@ -86,6 +86,7 @@ struct pt_dspregs {
|
||||
unsigned long re;
|
||||
unsigned long mod;
|
||||
};
|
||||
#endif
|
||||
|
||||
#define PTRACE_GETREGS 12 /* General registers */
|
||||
#define PTRACE_SETREGS 13
|
||||
@@ -100,7 +101,6 @@ struct pt_dspregs {
|
||||
|
||||
#define PTRACE_GETDSPREGS 55 /* DSP registers */
|
||||
#define PTRACE_SETDSPREGS 56
|
||||
#endif
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#include <asm/addrspace.h>
|
||||
|
||||
Reference in New Issue
Block a user