]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/asm-ppc64/ppc32.h
powerpc: merge ptrace.h
[karo-tx-linux.git] / include / asm-ppc64 / ppc32.h
index 3945a55d112a00b92873ff0bbef79ac0afed282e..90e5627717911a6bdb80c761d71183a4d7ec61e6 100644 (file)
@@ -91,6 +91,22 @@ typedef struct sigaltstack_32 {
        compat_size_t ss_size;
 } stack_32_t;
 
+struct pt_regs32 {
+       unsigned int gpr[32];
+       unsigned int nip;
+       unsigned int msr;
+       unsigned int orig_gpr3;         /* Used for restarting system calls */
+       unsigned int ctr;
+       unsigned int link;
+       unsigned int xer;
+       unsigned int ccr;
+       unsigned int mq;                /* 601 only (not used at present) */
+       unsigned int trap;              /* Reason for being here */
+       unsigned int dar;               /* Fault registers */
+       unsigned int dsisr;
+       unsigned int result;            /* Result of a system call */
+};
+
 struct sigcontext32 {
        unsigned int    _unused[4];
        int             signal;