aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/ppc32.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-11-02 23:14:36 -0500
committerStephen Rothwell <sfr@canb.auug.org.au>2005-11-03 00:03:07 -0500
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 3945a55d112a..90e562771791 100644
--- a/include/asm-ppc64/ppc32.h
+++ b/include/asm-ppc64/ppc32.h
@@ -91,6 +91,22 @@ typedef struct sigaltstack_32 {
91 compat_size_t ss_size; 91 compat_size_t ss_size;
92} stack_32_t; 92} stack_32_t;
93 93
94struct pt_regs32 {
95 unsigned int gpr[32];
96 unsigned int nip;
97 unsigned int msr;
98 unsigned int orig_gpr3; /* Used for restarting system calls */
99 unsigned int ctr;
100 unsigned int link;
101 unsigned int xer;
102 unsigned int ccr;
103 unsigned int mq; /* 601 only (not used at present) */
104 unsigned int trap; /* Reason for being here */
105 unsigned int dar; /* Fault registers */
106 unsigned int dsisr;
107 unsigned int result; /* Result of a system call */
108};
109
94struct sigcontext32 { 110struct sigcontext32 {
95 unsigned int _unused[4]; 111 unsigned int _unused[4];
96 int signal; 112 int signal;