Lines Matching refs:gregs
101 fs = uc.uc_mcontext.gregs[FS];
102 es = uc.uc_mcontext.gregs[ES];
103 ds = uc.uc_mcontext.gregs[DS];
104 cs = uc.uc_mcontext.gregs[CS];
105 ss = uc.uc_mcontext.gregs[SS];
110 ucp->uc_mcontext.gregs[FS] = fs;
111 ucp->uc_mcontext.gregs[ES] = es;
112 ucp->uc_mcontext.gregs[DS] = ds;
113 ucp->uc_mcontext.gregs[CS] = cs;
114 ucp->uc_mcontext.gregs[SS] = ss;
125 ucp->uc_mcontext.gregs[ESP] = (greg_t)ulwp;
126 ucp->uc_mcontext.gregs[GS] = (greg_t)LWPGS_SEL;
137 ucp->uc_mcontext.gregs[EIP] = (greg_t)func;
138 ucp->uc_mcontext.gregs[UESP] = (greg_t)stack;
139 ucp->uc_mcontext.gregs[EBP] = (greg_t)(stack + 3);
236 ucp->uc_mcontext.gregs[GS] = gs;
237 ucp->uc_mcontext.gregs[FS] = fs;
238 ucp->uc_mcontext.gregs[ES] = es;
239 ucp->uc_mcontext.gregs[DS] = ds;
240 ucp->uc_mcontext.gregs[EDI] = edi;
241 ucp->uc_mcontext.gregs[ESI] = esi;
242 ucp->uc_mcontext.gregs[EBP] = ebp;
243 ucp->uc_mcontext.gregs[ESP] = esp + 4;
244 ucp->uc_mcontext.gregs[EBX] = ebx;
245 ucp->uc_mcontext.gregs[EDX] = edx;
246 ucp->uc_mcontext.gregs[ECX] = ecx;
247 ucp->uc_mcontext.gregs[EAX] = eax;
248 ucp->uc_mcontext.gregs[TRAPNO] = 0;
249 ucp->uc_mcontext.gregs[ERR] = 0;
250 ucp->uc_mcontext.gregs[EIP] = eip;
251 ucp->uc_mcontext.gregs[CS] = cs;
252 ucp->uc_mcontext.gregs[EFL] = 0;
253 ucp->uc_mcontext.gregs[UESP] = esp + 4;
254 ucp->uc_mcontext.gregs[SS] = ss;