Lines Matching refs:os_state
85 tst->os_state.lwpid = VG_(gettid)();
89 tst->os_state.threadgroup = VG_(getpid)();
179 "movl %3, %%ebx\n" /* set %ebx = tst->os_state.exitcode */
180 "int $0x80\n" /* exit(tst->os_state.exitcode) */
182 : "n" (VgTs_Empty), "n" (__NR_exit), "m" (tst->os_state.exitcode));
187 "movq %3, %%rdi\n" /* set %rdi = tst->os_state.exitcode */
188 "syscall\n" /* exit(tst->os_state.exitcode) */
190 : "n" (VgTs_Empty), "n" (__NR_exit), "m" (tst->os_state.exitcode));
196 "lwz 3,%3\n\t" /* set r3 = tst->os_state.exitcode */
197 "sc\n\t" /* exit(tst->os_state.exitcode) */
199 : "r" (vgts_empty), "n" (__NR_exit), "m" (tst->os_state.exitcode));
205 "ldr r0, %3\n" /* set %r0 = tst->os_state.exitcode */
206 "svc 0x00000000\n" /* exit(tst->os_state.exitcode) */
208 : "r" (VgTs_Empty), "n" (__NR_exit), "m" (tst->os_state.exitcode));
243 if (tst->os_state.valgrind_stack_base == 0)
244 vg_assert(tst->os_state.valgrind_stack_init_SP == 0);
246 if (tst->os_state.valgrind_stack_base != 0)
247 vg_assert(tst->os_state.valgrind_stack_init_SP != 0);
251 if (tst->os_state.valgrind_stack_base == 0) {
254 tst->os_state.valgrind_stack_base = (Addr)stack;
255 tst->os_state.valgrind_stack_init_SP = initial_SP;
262 (void*)tst->os_state.valgrind_stack_base,
263 (void*)tst->os_state.valgrind_stack_init_SP );
265 return tst->os_state.valgrind_stack_init_SP;
599 VG_(threads)[t].os_state.threadgroup != tst->os_state.threadgroup
604 VG_(threads)[t].os_state.exitcode = ARG1;