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