| #include <linux/compat.h> |
| * Data types and macros for providing 32b PowerPC support. |
| * This program is free software; you can redistribute it and/or |
| * modify it under the terms of the GNU General Public License |
| * as published by the Free Software Foundation; either version |
| * 2 of the License, or (at your option) any later version. |
| /* These are here to support 32-bit syscalls on a 64-bit kernel. */ |
| unsigned int orig_gpr3; /* Used for restarting system calls */ |
| unsigned int mq; /* 601 only (not used at present) */ |
| unsigned int trap; /* Reason for being here */ |
| unsigned int dar; /* Fault registers */ |
| unsigned int result; /* Result of a system call */ |
| compat_uptr_t regs; /* 4 byte pointer to the pt_regs32 structure. */ |
| elf_gregset_t32 mc_gregs; |
| elf_vrregset_t32 mc_vregs __attribute__((__aligned__(16))); |
| elf_vsrreghalf_t32 mc_vsregs __attribute__((__aligned__(16))); |
| compat_uptr_t uc_regs; /* points to uc_mcontext field */ |
| compat_sigset_t uc_sigmask; /* mask last for extensibility */ |
| /* glibc has 1024-bit signal masks, ours are 64-bit */ |
| struct mcontext32 uc_mcontext; |
| #endif /* _PPC64_PPC32_H */ |