Lines Matching refs:uc_mcontext

63 	 * We assign to every field through uc_mcontext.fpregs.fpu_en,
66 bzero(&ucp->uc_mcontext.fpregs.fpu_en, sizeof (ucontext_t) -
67 offsetof(ucontext_t, uc_mcontext.fpregs.fpu_en));
104 getgregs(lwp, ucp->uc_mcontext.gregs);
105 getasrs(lwp, ucp->uc_mcontext.asrs);
107 getfpregs(lwp, &ucp->uc_mcontext.fpregs);
108 getfpasrs(lwp, ucp->uc_mcontext.asrs);
109 if (ucp->uc_mcontext.fpregs.fpu_en == 0)
111 ucp->uc_mcontext.gwins = (gwindows_t *)NULL;
125 mcontext_t *mcp = &ucp->uc_mcontext;
152 fpregset_t *fp = &ucp->uc_mcontext.fpregs;
216 uc.uc_mcontext.fpregs.fpu_qcnt = 0;
217 uc.uc_mcontext.fpregs.fpu_q = (struct _fq *)NULL;
233 sizeof (uc.uc_mcontext.fpregs) -
234 sizeof (uc.uc_mcontext.xrs) -
235 sizeof (uc.uc_mcontext.asrs) -
236 sizeof (uc.uc_mcontext.filler))) {
241 if (copyin(&ucp->uc_mcontext.xrs, &uc.uc_mcontext.xrs,
242 sizeof (uc.uc_mcontext.xrs))) {
245 fpp = &uc.uc_mcontext.fpregs;
250 if (copyin(&ucp->uc_mcontext.fpregs,
251 &uc.uc_mcontext.fpregs,
252 sizeof (uc.uc_mcontext.fpregs)))
270 if (uc.uc_mcontext.gwins) { /* if windows in context */
281 if (copyin(uc.uc_mcontext.gwins,
293 copyin(uc.uc_mcontext.gwins, gwin, gwin_size)) {
297 uc.uc_mcontext.gwins = gwin;
305 if (copyin(&ucp->uc_mcontext.asrs, &uc.uc_mcontext.asrs,
361 * We assign to every field through uc_mcontext.fpregs.fpu_en,
364 bzero(&ucp->uc_mcontext.fpregs.fpu_en, sizeof (ucontext32_t) -
365 offsetof(ucontext32_t, uc_mcontext.fpregs.fpu_en));
407 getgregs32(lwp, ucp->uc_mcontext.gregs);
409 fpuregset_nto32(&fpregs, &ucp->uc_mcontext.fpregs, dfq);
411 if (ucp->uc_mcontext.fpregs.fpu_en == 0)
413 ucp->uc_mcontext.gwins = (caddr32_t)NULL;
466 uc.uc_mcontext.fpregs.fpu_qcnt = 0;
467 uc.uc_mcontext.fpregs.fpu_q = (caddr32_t)NULL;
482 sizeof (uc.uc_mcontext.fpregs) -
483 sizeof (uc.uc_mcontext.xrs) -
484 sizeof (uc.uc_mcontext.filler))) {
489 if (copyin(&ucp->uc_mcontext.xrs, &uc.uc_mcontext.xrs,
490 sizeof (uc.uc_mcontext.xrs))) {
493 fpp = &uc.uc_mcontext.fpregs;
498 if (copyin(&ucp->uc_mcontext.fpregs,
499 &uc.uc_mcontext.fpregs,
500 sizeof (uc.uc_mcontext.fpregs)))
518 if (uc.uc_mcontext.gwins) { /* if windows in context */
529 if (copyin((void *)(uintptr_t)uc.uc_mcontext.gwins,
542 copyin((void *)(uintptr_t)uc.uc_mcontext.gwins,
548 uc.uc_mcontext.gwins = (caddr32_t)0;