Lines Matching defs:pcb
290 * the pcb and indicate that the state is valid. When the
336 * If we have FPU hw and the thread's pcb doesn't have
448 struct pcb *pcb = &lwp->lwp_pcb;
466 grp[REG_FSBASE] = pcb->pcb_fsbase;
467 grp[REG_GSBASE] = pcb->pcb_gsbase;
470 if (pcb->pcb_rupdate == 1) {
471 grp[REG_DS] = pcb->pcb_ds;
472 grp[REG_ES] = pcb->pcb_es;
473 grp[REG_FS] = pcb->pcb_fs;
474 grp[REG_GS] = pcb->pcb_gs;
501 struct pcb *pcb = &lwp->lwp_pcb;
506 if (pcb->pcb_rupdate == 1) {
507 grp[GS] = (uint16_t)pcb->pcb_gs;
508 grp[FS] = (uint16_t)pcb->pcb_fs;
509 grp[DS] = (uint16_t)pcb->pcb_ds;
510 grp[ES] = (uint16_t)pcb->pcb_es;
704 struct pcb *pcb = &lwp->lwp_pcb;
741 pcb->pcb_ds = UDS_SEL;
742 pcb->pcb_es = UDS_SEL;
751 pcb->pcb_fsbase = grp[REG_FSBASE];
752 pcb->pcb_gsbase = grp[REG_GSBASE];
753 pcb->pcb_fs = fix_segreg(grp[REG_FS], IS_NOT_CS, datamodel);
754 pcb->pcb_gs = fix_segreg(grp[REG_GS], IS_NOT_CS, datamodel);
759 pcb->pcb_rupdate = 1;
784 pcb->pcb_ds = fix_segreg(grp[REG_DS], IS_NOT_CS, datamodel);
785 pcb->pcb_es = fix_segreg(grp[REG_ES], IS_NOT_CS, datamodel);
790 pcb->pcb_fs = fix_segreg(grp[REG_FS], IS_NOT_CS, datamodel);
791 pcb->pcb_gs = fix_segreg(grp[REG_GS], IS_NOT_CS, datamodel);
796 pcb->pcb_rupdate = 1;