Home
last modified time | relevance | path

Searched refs:ctst (Results 1 – 10 of 10) sorted by relevance

/external/valgrind/coregrind/m_syswrap/
Dsyswrap-ppc64-linux.c392 ThreadState* ctst = VG_(get_ThreadState)(ctid); in do_clone() local
429 setup_child( &ctst->arch, &ptst->arch ); in do_clone()
433 { UInt old_cr = LibVEX_GuestPPC64_get_CR( &ctst->arch.vex ); in do_clone()
435 ctst->arch.vex.guest_GPR3 = 0; in do_clone()
437 LibVEX_GuestPPC64_put_CR( old_cr & ~(1<<28), &ctst->arch.vex ); in do_clone()
441 ctst->arch.vex.guest_GPR1 = sp; in do_clone()
443 ctst->os_state.parent = ptid; in do_clone()
446 ctst->sig_mask = ptst->sig_mask; in do_clone()
447 ctst->tmp_sig_mask = ptst->sig_mask; in do_clone()
458 ctst->os_state.threadgroup = ptst->os_state.threadgroup; in do_clone()
[all …]
Dsyswrap-arm64-linux.c218 ThreadState* ctst = VG_(get_ThreadState)(ctid); in do_clone() local
247 setup_child( &ctst->arch, &ptst->arch ); in do_clone()
251 ctst->arch.vex.guest_X0 = 0; in do_clone()
254 ctst->arch.vex.guest_XSP = child_xsp; in do_clone()
256 ctst->os_state.parent = ptid; in do_clone()
259 ctst->sig_mask = ptst->sig_mask; in do_clone()
260 ctst->tmp_sig_mask = ptst->sig_mask; in do_clone()
271 ctst->os_state.threadgroup = ptst->os_state.threadgroup; in do_clone()
273 ML_(guess_and_register_stack)(child_xsp, ctst); in do_clone()
304 VG_(cleanup_thread)(&ctst->arch); in do_clone()
[all …]
Dsyswrap-ppc32-linux.c242 ThreadState* ctst = VG_(get_ThreadState)(ctid); in do_clone() local
279 setup_child( &ctst->arch, &ptst->arch ); in do_clone()
283 { UInt old_cr = LibVEX_GuestPPC32_get_CR( &ctst->arch.vex ); in do_clone()
285 ctst->arch.vex.guest_GPR3 = 0; in do_clone()
287 LibVEX_GuestPPC32_put_CR( old_cr & ~(1<<28), &ctst->arch.vex ); in do_clone()
291 ctst->arch.vex.guest_GPR1 = sp; in do_clone()
293 ctst->os_state.parent = ptid; in do_clone()
296 ctst->sig_mask = ptst->sig_mask; in do_clone()
297 ctst->tmp_sig_mask = ptst->sig_mask; in do_clone()
308 ctst->os_state.threadgroup = ptst->os_state.threadgroup; in do_clone()
[all …]
Dsyswrap-mips32-linux.c246 ThreadState * ctst = VG_ (get_ThreadState) (ctid); in do_clone() local
260 setup_child (&ctst->arch, &ptst->arch); in do_clone()
263 ctst->arch.vex.guest_r2 = 0; in do_clone()
264 ctst->arch.vex.guest_r7 = 0; in do_clone()
266 ctst->arch.vex.guest_r29 = sp; in do_clone()
268 ctst->os_state.parent = ptid; in do_clone()
269 ctst->sig_mask = ptst->sig_mask; in do_clone()
270 ctst->tmp_sig_mask = ptst->sig_mask; in do_clone()
282 ctst->os_state.threadgroup = ptst->os_state.threadgroup; in do_clone()
284 ML_(guess_and_register_stack) (sp, ctst); in do_clone()
[all …]
Dsyswrap-mips64-linux.c203 ThreadState * ctst = VG_ (get_ThreadState) (ctid); in do_clone() local
217 setup_child(&ctst->arch, &ptst->arch); in do_clone()
220 ctst->arch.vex.guest_r2 = 0; in do_clone()
221 ctst->arch.vex.guest_r7 = 0; in do_clone()
223 ctst->arch.vex.guest_r29 = sp; in do_clone()
225 ctst->os_state.parent = ptid; in do_clone()
226 ctst->sig_mask = ptst->sig_mask; in do_clone()
227 ctst->tmp_sig_mask = ptst->sig_mask; in do_clone()
229 ctst->os_state.threadgroup = ptst->os_state.threadgroup; in do_clone()
231 ML_(guess_and_register_stack) (sp, ctst); in do_clone()
[all …]
Dsyswrap-amd64-linux.c209 ThreadState* ctst = VG_(get_ThreadState)(ctid); in do_clone() local
238 setup_child( &ctst->arch, &ptst->arch ); in do_clone()
242 ctst->arch.vex.guest_RAX = 0; in do_clone()
245 ctst->arch.vex.guest_RSP = rsp; in do_clone()
247 ctst->os_state.parent = ptid; in do_clone()
250 ctst->sig_mask = ptst->sig_mask; in do_clone()
251 ctst->tmp_sig_mask = ptst->sig_mask; in do_clone()
262 ctst->os_state.threadgroup = ptst->os_state.threadgroup; in do_clone()
264 ML_(guess_and_register_stack) (rsp, ctst); in do_clone()
276 ctst->arch.vex.guest_FS_CONST = tlsaddr; in do_clone()
[all …]
Dsyswrap-s390x-linux.c215 ThreadState* ctst = VG_(get_ThreadState)(ctid); in do_clone() local
244 setup_child( &ctst->arch, &ptst->arch ); in do_clone()
248 ctst->arch.vex.guest_r2 = 0; in do_clone()
251 ctst->arch.vex.guest_SP = sp; in do_clone()
253 ctst->os_state.parent = ptid; in do_clone()
256 ctst->sig_mask = ptst->sig_mask; in do_clone()
257 ctst->tmp_sig_mask = ptst->sig_mask; in do_clone()
260 ctst->os_state.threadgroup = ptst->os_state.threadgroup; in do_clone()
262 ML_(guess_and_register_stack) (sp, ctst); in do_clone()
274 ctst->arch.vex.guest_a0 = (UInt) (tlsaddr >> 32); in do_clone()
[all …]
Dsyswrap-arm-linux.c173 ThreadState* ctst = VG_(get_ThreadState)(ctid); in do_clone() local
191 setup_child( &ctst->arch, &ptst->arch ); in do_clone()
193 ctst->arch.vex.guest_R0 = 0; in do_clone()
195 ctst->arch.vex.guest_R13 = sp; in do_clone()
197 ctst->os_state.parent = ptid; in do_clone()
199 ctst->sig_mask = ptst->sig_mask; in do_clone()
200 ctst->tmp_sig_mask = ptst->sig_mask; in do_clone()
211 ctst->os_state.threadgroup = ptst->os_state.threadgroup; in do_clone()
213 ML_(guess_and_register_stack) (sp, ctst); in do_clone()
239 VG_(cleanup_thread)(&ctst->arch); in do_clone()
[all …]
Dsyswrap-tilegx-linux.c337 ThreadState * ctst = VG_ (get_ThreadState) (ctid); in do_clone() local
351 setup_child (&ctst->arch, &ptst->arch); in do_clone()
354 ctst->arch.vex.guest_r0 = 0; in do_clone()
355 ctst->arch.vex.guest_r3 = 0; in do_clone()
357 ctst->arch.vex.guest_r54 = sp; in do_clone()
359 ctst->os_state.parent = ptid; in do_clone()
360 ctst->sig_mask = ptst->sig_mask; in do_clone()
361 ctst->tmp_sig_mask = ptst->sig_mask; in do_clone()
373 ctst->os_state.threadgroup = ptst->os_state.threadgroup; in do_clone()
374 ML_(guess_and_register_stack) (sp, ctst); in do_clone()
[all …]
Dsyswrap-x86-linux.c216 ThreadState* ctst = VG_(get_ThreadState)(ctid); in do_clone() local
249 setup_child( &ctst->arch, &ptst->arch, True ); in do_clone()
253 ctst->arch.vex.guest_EAX = 0; in do_clone()
256 ctst->arch.vex.guest_ESP = esp; in do_clone()
258 ctst->os_state.parent = ptid; in do_clone()
261 ctst->sig_mask = ptst->sig_mask; in do_clone()
262 ctst->tmp_sig_mask = ptst->sig_mask; in do_clone()
273 ctst->os_state.threadgroup = ptst->os_state.threadgroup; in do_clone()
275 ML_(guess_and_register_stack) (esp, ctst); in do_clone()
294 ctst->arch.vex.guest_FS, ctst->arch.vex.guest_GS); in do_clone()
[all …]