summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/ppc32.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-11-03 15:14:36 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2005-11-03 16:03:07 +1100
commitda80d460bf4606671df3ba53408f45ab848e67ba (patch)
tree590195c548377ac8e110b1441c7f60c7f731a4b1 /include/asm-ppc64/ppc32.h
parentc5a1ebd24547df5738138ebc154e1abccfa85468 (diff)
powerpc: merge ptrace.h
Move struct ptregs32 into asm-ppc64/ppc32.h Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'include/asm-ppc64/ppc32.h')
-rw-r--r--include/asm-ppc64/ppc32.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/asm-ppc64/ppc32.h b/include/asm-ppc64/ppc32.h
index 3945a55d112..90e56277179 100644
--- a/include/asm-ppc64/ppc32.h
+++ b/include/asm-ppc64/ppc32.h
@@ -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;