1 /*
2  * Size of dummy stack frame allocated when calling signal handler.
3  * See arch/powerpc/include/asm/ptrace.h.
4  */
5 #ifdef TARGET_ABI32
6 # define SIGNAL_FRAMESIZE                   64
7 #else
8 # define SIGNAL_FRAMESIZE                   128
9 #endif
10 
11 #ifdef TARGET_ABI32
12 # define offsetof_sigframe_mcontext         0x20
13 # define offsetof_rt_sigframe_mcontext      0x140
14 # define offsetof_mcontext_fregs            0xc0
15 # define offsetof_mcontext_vregs            0x1d0
16 #else
17 # define offsetof_rt_sigframe_mcontext      0xe8
18 # define offsetof_mcontext_fregs            0x180
19 # define offsetof_mcontext_vregs_ptr        0x288
20 #endif
21