patch-2.1.16 linux/include/asm-ppc/ptrace.h

Next file: linux/include/asm-ppc/residual.h
Previous file: linux/include/asm-ppc/processor.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.15/linux/include/asm-ppc/ptrace.h linux/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)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov