3 #include <sys/ucontext.h>
10 UC_FLAGS offsetof (ucontext_t, uc_flags)
11 UC_LINK offsetof (ucontext_t, uc_link)
12 UC_SIGMASK offsetof (ucontext_t, uc_sigmask)
13 UC_STACK offsetof (ucontext_t, uc_stack)
14 UC_MCONTEXT offsetof (ucontext_t, uc_mcontext)
15 MC_GREGS offsetof (mcontext_t, gregs)
16 MC_GWINS offsetof (mcontext_t, gwins)
17 MC_FPREGS offsetof (mcontext_t, fpregs)
18 MC_XRS offsetof (mcontext_t, xrs)
19 MC_FILLER offsetof (mcontext_t, filler)
20 GREG_PSR (REG_PSR * sizeof(greg_t))
21 GREG_PC (REG_PC * sizeof(greg_t))
22 GREG_NPC (REG_nPC * sizeof(greg_t))
23 GREG_Y (REG_Y * sizeof(greg_t))
24 GREG_G1 (REG_G1 * sizeof(greg_t))
25 GREG_G2 (REG_G2 * sizeof(greg_t))
26 GREG_G3 (REG_G3 * sizeof(greg_t))
27 GREG_G4 (REG_G4 * sizeof(greg_t))
28 GREG_G5 (REG_G5 * sizeof(greg_t))
29 GREG_G6 (REG_G6 * sizeof(greg_t))
30 GREG_G7 (REG_G7 * sizeof(greg_t))
31 GREG_O0 (REG_O0 * sizeof(greg_t))
32 GREG_O1 (REG_O1 * sizeof(greg_t))
33 GREG_O2 (REG_O2 * sizeof(greg_t))
34 GREG_O3 (REG_O3 * sizeof(greg_t))
35 GREG_O4 (REG_O4 * sizeof(greg_t))
36 GREG_O5 (REG_O5 * sizeof(greg_t))
37 GREG_O6 (REG_O6 * sizeof(greg_t))
38 GREG_O7 (REG_O7 * sizeof(greg_t))
39 FPU_D0 offsetof (fpregset_t, fpu_fr.fpu_dregs[0])
40 FPU_D2 offsetof (fpregset_t, fpu_fr.fpu_dregs[1])
41 FPU_D4 offsetof (fpregset_t, fpu_fr.fpu_dregs[2])
42 FPU_D6 offsetof (fpregset_t, fpu_fr.fpu_dregs[3])
43 FPU_D8 offsetof (fpregset_t, fpu_fr.fpu_dregs[4])
44 FPU_D10 offsetof (fpregset_t, fpu_fr.fpu_dregs[5])
45 FPU_D12 offsetof (fpregset_t, fpu_fr.fpu_dregs[6])
46 FPU_D14 offsetof (fpregset_t, fpu_fr.fpu_dregs[7])
47 FPU_D16 offsetof (fpregset_t, fpu_fr.fpu_dregs[8])
48 FPU_D18 offsetof (fpregset_t, fpu_fr.fpu_dregs[9])
49 FPU_D20 offsetof (fpregset_t, fpu_fr.fpu_dregs[10])
50 FPU_D22 offsetof (fpregset_t, fpu_fr.fpu_dregs[11])
51 FPU_D24 offsetof (fpregset_t, fpu_fr.fpu_dregs[12])
52 FPU_D26 offsetof (fpregset_t, fpu_fr.fpu_dregs[13])
53 FPU_D28 offsetof (fpregset_t, fpu_fr.fpu_dregs[14])
54 FPU_D30 offsetof (fpregset_t, fpu_fr.fpu_dregs[15])
55 FPU_Q offsetof (fpregset_t, fpu_q)
56 FPU_FSR offsetof (fpregset_t, fpu_fsr)
57 FPU_QCNT offsetof (fpregset_t, fpu_qcnt)
58 FPU_Q_ENTRY_SZ offsetof (fpregset_t, fpu_q_entrysize)
59 FPU_EN offsetof (fpregset_t, fpu_en)
60 XRS_ID offsetof (xrs_t, xrs_id)
61 XRS_PTR offsetof (xrs_t, xrs_ptr)