123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #ifndef _ASM_POWERPC_SYSCALLS_32_H
- #define _ASM_POWERPC_SYSCALLS_32_H
- #include <linux/compat.h>
- #include <asm/siginfo.h>
- #include <asm/signal.h>
- struct pt_regs32 {
- unsigned int gpr[32];
- unsigned int nip;
- unsigned int msr;
- unsigned int orig_gpr3;
- unsigned int ctr;
- unsigned int link;
- unsigned int xer;
- unsigned int ccr;
- unsigned int mq;
- unsigned int trap;
- unsigned int dar;
- unsigned int dsisr;
- unsigned int result;
- };
- struct sigcontext32 {
- unsigned int _unused[4];
- int signal;
- compat_uptr_t handler;
- unsigned int oldmask;
- compat_uptr_t regs;
- };
- struct mcontext32 {
- elf_gregset_t32 mc_gregs;
- elf_fpregset_t mc_fregs;
- unsigned int mc_pad[2];
- elf_vrregset_t32 mc_vregs __attribute__((__aligned__(16)));
- elf_vsrreghalf_t32 mc_vsregs __attribute__((__aligned__(16)));
- };
- struct ucontext32 {
- unsigned int uc_flags;
- unsigned int uc_link;
- compat_stack_t uc_stack;
- int uc_pad[7];
- compat_uptr_t uc_regs;
- compat_sigset_t uc_sigmask;
-
- int uc_maskext[30];
- int uc_pad2[3];
- struct mcontext32 uc_mcontext;
- };
- #endif
|