1 #ifndef __ASM_SH_PTRACE_H
2 #define __ASM_SH_PTRACE_H
5 * Copyright (C) 1999 Niibe Yutaka
10 * This struct defines the way the registers are stored on the
11 * kernel stack during a system call or other kernel entry.
15 unsigned long u_regs
[16];
25 #define user_mode(regs) (((regs)->sr & 0x40000000)==0)
26 #define instruction_pointer(regs) ((regs)->pc)
27 extern void show_regs(struct pt_regs
*);
31 #endif /* __ASM_SH_PTRACE_H */