summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/ptrace.h')
-rw-r--r--include/asm-ppc/ptrace.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/include/asm-ppc/ptrace.h b/include/asm-ppc/ptrace.h
index c654d86b7..5bad3b9da 100644
--- a/include/asm-ppc/ptrace.h
+++ b/include/asm-ppc/ptrace.h
@@ -1,7 +1,6 @@
#ifndef _PPC_PTRACE_H
#define _PPC_PTRACE_H
-
/*
* This struct defines the way the registers are stored on the
* kernel stack during a system call or other kernel entry.
@@ -21,27 +20,28 @@
*/
struct pt_regs {
- unsigned long _overhead[14]; /* Callee's SP,LR,params */
- unsigned long gpr[32];
- unsigned long nip;
- unsigned long msr;
- unsigned long ctr;
- unsigned long link;
- unsigned long ccr;
- unsigned long xer;
- unsigned long dar; /* Fault registers */
- unsigned long dsisr;
- unsigned long hash1, hash2;
- unsigned long imiss, dmiss;
- unsigned long icmp, dcmp;
- unsigned long orig_gpr3; /* Used for restarting system calls */
- unsigned long result; /* Result of a system call */
- double fpr[4]; /* Caution! Only FP0-FP3 save on interrupts */
- double fpcsr;
- unsigned long trap; /* Reason for being here */
- unsigned long marker; /* Should have DEADDEAD */
- unsigned long _underhead[20]; /* Callee's register save area */
- unsigned long edx; /* for binfmt_elf.c which wants edx */
+ unsigned long _overhead[14]; /* Callee's SP,LR,params */
+ unsigned long gpr[32];
+ unsigned long nip;
+ unsigned long msr;
+ unsigned long ctr;
+ unsigned long link;
+ unsigned long ccr;
+ unsigned long xer;
+ unsigned long dar; /* Fault registers */
+ unsigned long dsisr;
+ unsigned long srr1;
+ unsigned long srr0;
+ unsigned long hash1, hash2;
+ unsigned long imiss, dmiss;
+ unsigned long icmp, dcmp;
+ unsigned long orig_gpr3; /* Used for restarting system calls */
+ unsigned long result; /* Result of a system call */
+ double fpcsr;
+ unsigned long trap; /* Reason for being here */
+ unsigned long marker; /* Should have DEADDEAD */
+ /*unsigned long _underhead[20]; *//* Callee's register save area */
+ unsigned long edx; /* for binfmt_elf.c which wants edx */
};
#define instruction_pointer(regs) ((regs)->nip)