Lines Matching refs:ucp
91 ucontext_t *ucp = uc; in trap_signal_handler() local
93 ucp->uc_link = tmp_uc; in trap_signal_handler()
102 memset(ucp->uc_link, rand(), sizeof(ucontext_t)); in trap_signal_handler()
104 memcpy(ucp->uc_link, uc, sizeof(ucontext_t)); in trap_signal_handler()
111 ucp->uc_link = tmp_uc; in trap_signal_handler()
113 madvise(ucp->uc_link, sizeof(ucontext_t), MADV_DONTNEED); in trap_signal_handler()
119 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] |= MSR_TS_S; in trap_signal_handler()
122 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] |= in trap_signal_handler()
125 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] |= in trap_signal_handler()
132 ucp->uc_mcontext.gp_regs[PT_MSR] |= MSR_TS_S; in trap_signal_handler()
135 ucp->uc_mcontext.gp_regs[PT_MSR] |= in trap_signal_handler()
138 ucp->uc_mcontext.gp_regs[PT_MSR] |= in trap_signal_handler()
153 ucp->uc_mcontext.gp_regs[PT_MSR] = random(); in trap_signal_handler()
155 ucp->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler()
157 ucp->uc_link->uc_mcontext.gp_regs[PT_MSR] = random(); in trap_signal_handler()
159 ucp->uc_link->uc_mcontext.gp_regs[PT_NIP] = random(); in trap_signal_handler()
161 ucp->uc_mcontext.gp_regs[PT_TRAP] = random(); in trap_signal_handler()
162 ucp->uc_mcontext.gp_regs[PT_DSISR] = random(); in trap_signal_handler()
163 ucp->uc_mcontext.gp_regs[PT_DAR] = random(); in trap_signal_handler()
164 ucp->uc_mcontext.gp_regs[PT_ORIG_R3] = random(); in trap_signal_handler()
165 ucp->uc_mcontext.gp_regs[PT_XER] = random(); in trap_signal_handler()
166 ucp->uc_mcontext.gp_regs[PT_RESULT] = random(); in trap_signal_handler()
167 ucp->uc_mcontext.gp_regs[PT_SOFTE] = random(); in trap_signal_handler()
168 ucp->uc_mcontext.gp_regs[PT_DSCR] = random(); in trap_signal_handler()
169 ucp->uc_mcontext.gp_regs[PT_CTR] = random(); in trap_signal_handler()
170 ucp->uc_mcontext.gp_regs[PT_LNK] = random(); in trap_signal_handler()
171 ucp->uc_mcontext.gp_regs[PT_CCR] = random(); in trap_signal_handler()
172 ucp->uc_mcontext.gp_regs[PT_REGS_COUNT] = random(); in trap_signal_handler()
174 ucp->uc_link->uc_mcontext.gp_regs[PT_TRAP] = random(); in trap_signal_handler()
175 ucp->uc_link->uc_mcontext.gp_regs[PT_DSISR] = random(); in trap_signal_handler()
176 ucp->uc_link->uc_mcontext.gp_regs[PT_DAR] = random(); in trap_signal_handler()
177 ucp->uc_link->uc_mcontext.gp_regs[PT_ORIG_R3] = random(); in trap_signal_handler()
178 ucp->uc_link->uc_mcontext.gp_regs[PT_XER] = random(); in trap_signal_handler()
179 ucp->uc_link->uc_mcontext.gp_regs[PT_RESULT] = random(); in trap_signal_handler()
180 ucp->uc_link->uc_mcontext.gp_regs[PT_SOFTE] = random(); in trap_signal_handler()
181 ucp->uc_link->uc_mcontext.gp_regs[PT_DSCR] = random(); in trap_signal_handler()
182 ucp->uc_link->uc_mcontext.gp_regs[PT_CTR] = random(); in trap_signal_handler()
183 ucp->uc_link->uc_mcontext.gp_regs[PT_LNK] = random(); in trap_signal_handler()
184 ucp->uc_link->uc_mcontext.gp_regs[PT_CCR] = random(); in trap_signal_handler()
185 ucp->uc_link->uc_mcontext.gp_regs[PT_REGS_COUNT] = random(); in trap_signal_handler()