Searched refs:mpcb (Results 1 – 13 of 13) sorted by relevance
87 struct machpcb *mpcb; in setfpregs() local92 mpcb = lwptompcb(lwp); in setfpregs()140 pfp->fpu_q = mpcb->mpcb_fpu_q; in setfpregs()478 struct machpcb *mpcb = lwptompcb(lwp); in setgwins() local486 if (mpcb->mpcb_wstate == WSTATE_USER32) { in setgwins()494 mpcb->mpcb_wbcnt = 0; in setgwins()497 mpcb->mpcb_spbuf[i] = sp; in setgwins()499 (mpcb->mpcb_wbuf + (i * wbuf_rwindow_size)); in setgwins()504 mpcb->mpcb_wbcnt++; in setgwins()511 struct machpcb *mpcb = lwptompcb(lwp); in setgwins32() local[all …]
850 machpcb_t *mpcb = lwptompcb(ttolwp(curthread)); in simulate_unimp() local864 mpcb->mpcb_illexcaddr = addr; in simulate_unimp()865 mpcb->mpcb_illexcinsn = (uint32_t)-1; in simulate_unimp()879 if (addr != mpcb->mpcb_illexcaddr || in simulate_unimp()880 inst != mpcb->mpcb_illexcinsn) in simulate_unimp()882 mpcb->mpcb_illexcaddr = addr; in simulate_unimp()883 mpcb->mpcb_illexcinsn = inst; in simulate_unimp()931 mpcb->mpcb_illexccnt = 0; in simulate_unimp()941 if (mpcb->mpcb_illexccnt >= 3) in simulate_unimp()944 mpcb->mpcb_illexccnt += 1; in simulate_unimp()[all …]
127 struct machpcb *mpcb; in lwp_stk_init() local136 mpcb = (struct machpcb *)stk; in lwp_stk_init()137 bzero(mpcb, sizeof (struct machpcb)); in lwp_stk_init()139 lwp->lwp_regs = (void *)&mpcb->mpcb_regs; in lwp_stk_init()141 mpcb->mpcb_fpu = fp; in lwp_stk_init()142 mpcb->mpcb_fpu->fpu_q = mpcb->mpcb_fpu_q; in lwp_stk_init()143 mpcb->mpcb_thread = lwp->lwp_thread; in lwp_stk_init()144 mpcb->mpcb_wbcnt = 0; in lwp_stk_init()146 mpcb->mpcb_wstate = WSTATE_USER32; in lwp_stk_init()147 mpcb->mpcb_wbuf = kmem_cache_alloc(wbuf32_cache, KM_SLEEP); in lwp_stk_init()[all …]
124 struct machpcb *mpcb; in mlsetup() local174 mpcb = lwptompcb(&lwp0); in mlsetup()175 mpcb->mpcb_fpu = fp; in mlsetup()176 mpcb->mpcb_fpu->fpu_q = mpcb->mpcb_fpu_q; in mlsetup()177 mpcb->mpcb_thread = &t0; in mlsetup()178 lwp0.lwp_fpu = (void *)mpcb->mpcb_fpu; in mlsetup()223 mpcb->mpcb_pa = va_to_pa(t0.t_stk); in mlsetup()
147 struct machpcb *mpcb = NULL; in trap() local206 mpcb = lwptompcb(lwp); in trap()254 mpcb->mpcb_flags &= ~FP_TRAPPED; in trap()256 if (mpcb->mpcb_flags & FP_TRAPPED) { in trap()262 mpcb->mpcb_flags &= ~FP_TRAPPED; in trap()1145 } else if (mpcb->mpcb_wbcnt) { in trap()
751 struct machpcb *mpcb; in dtrace_getreg() local803 mpcb = (struct machpcb *)((caddr_t)rp - REGOFF); in dtrace_getreg()808 if (mpcb->mpcb_wbcnt > 0) { in dtrace_getreg()809 struct rwindow *rwin = (void *)mpcb->mpcb_wbuf; in dtrace_getreg()810 int i = mpcb->mpcb_wbcnt; in dtrace_getreg()813 if ((long)mpcb->mpcb_spbuf[i] == rp->r_sp) in dtrace_getreg()824 if (mpcb->mpcb_wbcnt > 0) { in dtrace_getreg()825 struct rwindow32 *rwin = (void *)mpcb->mpcb_wbuf; in dtrace_getreg()826 int i = mpcb->mpcb_wbcnt; in dtrace_getreg()829 if ((long)mpcb->mpcb_spbuf[i] == rp->r_sp) in dtrace_getreg()[all …]
1388 struct machpcb *mpcb; in fasttrap_getreg() local1423 mpcb = (struct machpcb *)((caddr_t)rp - REGOFF); in fasttrap_getreg()1428 if (mpcb->mpcb_wbcnt > 0) { in fasttrap_getreg()1429 struct rwindow *rwin = (void *)mpcb->mpcb_wbuf; in fasttrap_getreg()1430 int i = mpcb->mpcb_wbcnt; in fasttrap_getreg()1433 if ((long)mpcb->mpcb_spbuf[i] != rp->r_sp) in fasttrap_getreg()1448 if (mpcb->mpcb_wbcnt > 0) { in fasttrap_getreg()1449 struct rwindow32 *rwin = (void *)mpcb->mpcb_wbuf; in fasttrap_getreg()1450 int i = mpcb->mpcb_wbcnt; in fasttrap_getreg()1453 if ((long)mpcb->mpcb_spbuf[i] != rp->r_sp) in fasttrap_getreg()[all …]
905 struct machpcb *mpcb = lwptompcb(lwp); in prstop() local911 if (mpcb->mpcb_wstate == WSTATE_USER32) { in prstop()934 for (i = 0; i < mpcb->mpcb_wbcnt; i++) { in prstop()935 if (sp == mpcb->mpcb_spbuf[i]) { in prstop()937 bcopy(mpcb->mpcb_wbuf + in prstop()944 (mpcb->mpcb_wbuf + in prstop()1009 struct machpcb *mpcb = lwptompcb(lwp); in prnwindows() local1011 return (mpcb->mpcb_wbcnt); in prnwindows()
98 struct machpcb *mpcb; member
97 struct machpcb *mpcb = lwptompcb(lwp); in xregrestore() local130 mpcb->mpcb_rsp[0] = sp; in xregrestore()131 mpcb->mpcb_rsp[1] = NULL; in xregrestore()132 bcopy(&lwp->lwp_pcb.pcb_xregs, &mpcb->mpcb_rwin[0], in xregrestore()
112 struct machpcb *mpcb; member
374 cpu_m.mpcb CPU_MPCB
321 stx %o0, [%i1 + CPU_MPCB] ! set CPU's mpcb pointer