Lines Matching defs:tstate
103 x86_thread_state64_t *tstate = (x86_thread_state64_t *) ((uintptr_t)buffer + hoffset);
107 bzero(tstate, x86_THREAD_STATE64_COUNT * sizeof(int));
109 tstate->rax = cpstate->rax;
110 tstate->rbx = cpstate->rbx;
111 tstate->rcx = cpstate->rcx;
112 tstate->rdx = cpstate->rdx;
113 tstate->rdi = cpstate->rdi;
114 tstate->rsi = cpstate->rsi;
115 tstate->rbp = cpstate->rbp;
116 tstate->r8 = cpstate->r8;
117 tstate->r9 = cpstate->r9;
118 tstate->r10 = cpstate->r10;
119 tstate->r11 = cpstate->r11;
120 tstate->r12 = cpstate->r12;
121 tstate->r13 = cpstate->r13;
122 tstate->r14 = cpstate->r14;
123 tstate->r15 = cpstate->r15;
124 tstate->rip = cpstate->isf.rip;
125 tstate->rsp = cpstate->isf.rsp;
126 tstate->rflags = cpstate->isf.rflags;
127 tstate->cs = cpstate->isf.cs;
128 tstate->fs = cpstate->fs;
129 tstate->gs = cpstate->gs;
132 tstate->rbx = iks->k_rbx;
133 tstate->rsp = iks->k_rsp;
134 tstate->rbp = iks->k_rbp;
135 tstate->r12 = iks->k_r12;
136 tstate->r13 = iks->k_r13;
137 tstate->r14 = iks->k_r14;
138 tstate->r15 = iks->k_r15;
139 tstate->rip = iks->k_rip;
142 void *tstate = (void *)((uintptr_t)buffer + hoffset);
144 bzero(tstate, thread_flavor_array[i].count*sizeof(int));