/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-ppc64-linux.c | 392 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 …]
|
D | syswrap-arm64-linux.c | 218 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 …]
|
D | syswrap-ppc32-linux.c | 242 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 …]
|
D | syswrap-mips32-linux.c | 246 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 …]
|
D | syswrap-mips64-linux.c | 203 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 …]
|
D | syswrap-amd64-linux.c | 209 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 …]
|
D | syswrap-s390x-linux.c | 215 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 …]
|
D | syswrap-arm-linux.c | 173 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 …]
|
D | syswrap-tilegx-linux.c | 337 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 …]
|
D | syswrap-x86-linux.c | 218 ThreadState* ctst = VG_(get_ThreadState)(ctid); in do_clone() local 251 setup_child( &ctst->arch, &ptst->arch, True ); in do_clone() 255 ctst->arch.vex.guest_EAX = 0; in do_clone() 258 ctst->arch.vex.guest_ESP = esp; in do_clone() 260 ctst->os_state.parent = ptid; in do_clone() 263 ctst->sig_mask = ptst->sig_mask; in do_clone() 264 ctst->tmp_sig_mask = ptst->sig_mask; in do_clone() 275 ctst->os_state.threadgroup = ptst->os_state.threadgroup; in do_clone() 277 ML_(guess_and_register_stack) (esp, ctst); in do_clone() 296 ctst->arch.vex.guest_FS, ctst->arch.vex.guest_GS); in do_clone() [all …]
|
D | syswrap-solaris.c | 6596 ThreadState *ctst; local 6617 ctst = VG_(get_ThreadState)(ctid); 6630 ctst->arch.vex = ptst->arch.vex; 6631 ctst->arch.vex_shadow1 = ptst->arch.vex_shadow1; 6632 ctst->arch.vex_shadow2 = ptst->arch.vex_shadow2; 6635 ctst->os_state.parent = tid; 6636 ctst->os_state.threadgroup = ptst->os_state.threadgroup; 6637 ctst->sig_mask = ptst->sig_mask; 6638 ctst->tmp_sig_mask = ptst->sig_mask; 6642 ctst->client_stack_highest_byte = 0; [all …]
|
/external/syslinux/gpxe/src/drivers/net/ |
D | skge.c | 2136 u16 ctst, pci_status; in skge_reset() local 2140 ctst = skge_read16(hw, B0_CTST); in skge_reset() 2158 ctst & (CS_CLK_RUN_HOT|CS_CLK_RUN_RST|CS_CLK_RUN_ENA)); in skge_reset()
|