Home | History | Annotate | Download | only in m_syswrap

Lines Matching defs:tst

88    ThreadState *tst = VG_(get_ThreadState)(tid);
89 UWord *stack = (UWord*)tst->os_state.valgrind_stack_init_SP;
104 uc->uc_mcontext.gregs[VKI_REG_RDI] = (UWord)tst; /* the parameter */
113 ThreadState *tst = VG_(get_ThreadState)(tid);
120 uc->uc_mcontext.gregs[VKI_REG_RIP] = tst->arch.vex.guest_RIP;
123 uc->uc_mcontext.gregs[VKI_REG_RAX] = tst->arch.vex.guest_RAX;
126 uc->uc_mcontext.gregs[VKI_REG_RBX] = tst->arch.vex.guest_RBX;
129 uc->uc_mcontext.gregs[VKI_REG_RCX] = tst->arch.vex.guest_RCX;
132 uc->uc_mcontext.gregs[VKI_REG_RDX] = tst->arch.vex.guest_RDX;
135 uc->uc_mcontext.gregs[VKI_REG_RBP] = tst->arch.vex.guest_RBP;
138 uc->uc_mcontext.gregs[VKI_REG_RSI] = tst->arch.vex.guest_RSI;
141 uc->uc_mcontext.gregs[VKI_REG_RDI] = tst->arch.vex.guest_RDI;
144 uc->uc_mcontext.gregs[VKI_REG_R8] = tst->arch.vex.guest_R8;
147 uc->uc_mcontext.gregs[VKI_REG_R9] = tst->arch.vex.guest_R9;
150 uc->uc_mcontext.gregs[VKI_REG_R10] = tst->arch.vex.guest_R10;
153 uc->uc_mcontext.gregs[VKI_REG_R11] = tst->arch.vex.guest_R11;
156 uc->uc_mcontext.gregs[VKI_REG_R12] = tst->arch.vex.guest_R12;
159 uc->uc_mcontext.gregs[VKI_REG_R13] = tst->arch.vex.guest_R13;
162 uc->uc_mcontext.gregs[VKI_REG_R14] = tst->arch.vex.guest_R14;
165 uc->uc_mcontext.gregs[VKI_REG_R15] = tst->arch.vex.guest_R15;
168 uc->uc_mcontext.gregs[VKI_REG_RSP] = tst->arch.vex.guest_RSP;
204 uc->uc_mcontext.gregs[VKI_REG_FSBASE] = tst->arch.vex.guest_FS_CONST;
214 LibVEX_GuestAMD64_get_rflags(&tst->arch.vex);
217 VKI_UC_GUEST_CC_OP(uc) = tst->arch.vex.guest_CC_OP;
218 VKI_UC_GUEST_CC_NDEP(uc) = tst->arch.vex.guest_CC_NDEP;
219 VKI_UC_GUEST_CC_DEP1(uc) = tst->arch.vex.guest_CC_DEP1;
223 VKI_UC_GUEST_CC_DEP2(uc) = tst->arch.vex.guest_CC_DEP2;
246 LibVEX_GuestAMD64_fxsave(&tst->arch.vex, (HWord)fs);
316 ThreadState *tst = VG_(get_ThreadState)(tid);
323 tst->arch.vex.guest_RIP = uc->uc_mcontext.gregs[VKI_REG_RIP];
327 tst->arch.vex.guest_RAX = uc->uc_mcontext.gregs[VKI_REG_RAX];
331 tst->arch.vex.guest_RBX = uc->uc_mcontext.gregs[VKI_REG_RBX];
335 tst->arch.vex.guest_RCX = uc->uc_mcontext.gregs[VKI_REG_RCX];
339 tst->arch.vex.guest_RDX = uc->uc_mcontext.gregs[VKI_REG_RDX];
343 tst->arch.vex.guest_RBP = uc->uc_mcontext.gregs[VKI_REG_RBP];
347 tst->arch.vex.guest_RSI = uc->uc_mcontext.gregs[VKI_REG_RSI];
351 tst->arch.vex.guest_RDI = uc->uc_mcontext.gregs[VKI_REG_RDI];
355 tst->arch.vex.guest_R8 = uc->uc_mcontext.gregs[VKI_REG_R8];
359 tst->arch.vex.guest_R9 = uc->uc_mcontext.gregs[VKI_REG_R9];
363 tst->arch.vex.guest_R10 = uc->uc_mcontext.gregs[VKI_REG_R10];
367 tst->arch.vex.guest_R11 = uc->uc_mcontext.gregs[VKI_REG_R11];
371 tst->arch.vex.guest_R12 = uc->uc_mcontext.gregs[VKI_REG_R12];
375 tst->arch.vex.guest_R13 = uc->uc_mcontext.gregs[VKI_REG_R13];
379 tst->arch.vex.guest_R14 = uc->uc_mcontext.gregs[VKI_REG_R14];
383 tst->arch.vex.guest_R15 = uc->uc_mcontext.gregs[VKI_REG_R15];
387 tst->arch.vex.guest_RSP = uc->uc_mcontext.gregs[VKI_REG_RSP];
397 tst->arch.vex.guest_FS_CONST = uc->uc_mcontext.gregs[VKI_REG_FSBASE];
414 orig_rflags = LibVEX_GuestAMD64_get_rflags(&tst->arch.vex);
422 LibVEX_GuestAMD64_put_rflags(new_rflags, &tst->arch.vex);
452 tst->arch.vex.guest_CC_OP = VKI_UC_GUEST_CC_OP(uc);
453 tst->arch.vex.guest_CC_NDEP = VKI_UC_GUEST_CC_NDEP(uc);
454 tst->arch.vex.guest_CC_DEP1 = VKI_UC_GUEST_CC_DEP1(uc);
459 tst->arch.vex.guest_CC_DEP2 = VKI_UC_GUEST_CC_DEP2(uc);
539 note = LibVEX_GuestAMD64_fxrstor((HWord)fs, &tst->arch.vex);