Lines Matching refs:pcb
164 pcb_t pcb = THREAD_TO_PCB(thread);
179 pcb->cthread_desc = desc;
181 saved_state32(pcb->iss)->gs = USER_CTHREAD;
199 pcb_t pcb = THREAD_TO_PCB(current_thread());
206 pcb->cthread_self = self;
210 if ((cdp->cpu_uber.cu_user_gs_base != pcb->cthread_self) ||
211 (pcb->cthread_self != rdmsr64(MSR_IA32_KERNEL_GS_BASE)))
226 * Swapping occurs inside the pcb.c file along with initialization
228 * pcb->uldt_selector variable will contain either 0 meaning the
230 * the FS register. pcb->uldt_desc contains the actual descriptor the
250 pcb_t pcb;
264 pcb = THREAD_TO_PCB(current_thread());
273 // set up our data in the pcb
274 pcb->uldt_desc = *(struct real_descriptor*)&temp;
275 pcb->uldt_selector = USER_SETTABLE; // set the selector value