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