• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/i386/

Lines Matching defs:pcb

102 thread_compose_cthread_desc(unsigned int addr, pcb_t pcb);
223 if ((child_pcb = child->machine.pcb) == NULL ||
224 (parent_pcb = parent->machine.pcb) == NULL)
446 thread_compose_cthread_desc(unsigned int addr, pcb_t pcb)
459 pcb->cthread_desc = desc;
470 current_thread()->machine.pcb->cthread_self = (uint64_t) self;
478 return ((kern_return_t)current_thread()->machine.pcb->cthread_self);
484 pcb_t pcb;
487 pcb = (pcb_t)current_thread()->machine.pcb;
488 thread_compose_cthread_desc(self, pcb);
489 pcb->cthread_self = (uint64_t) self; /* preserve old func too */
490 iss = saved_state32(pcb->iss);
500 pcb_t pcb;
503 pcb = (pcb_t)thread->machine.pcb;
504 thread_compose_cthread_desc(pself, pcb);
505 pcb->cthread_self = (uint64_t) pself; /* preserve old func too */
506 iss = saved_state32(pcb->iss);
509 pcb_t pcb;
512 pcb = thread->machine.pcb;
517 pcb->cthread_self = pself;
520 iss = saved_state64(pcb->iss);
522 thread_compose_cthread_desc((uint32_t) pself, pcb);
530 pcb_t pcb;
533 pcb = current_thread()->machine.pcb;
538 pcb->cthread_self = self;
542 iss = saved_state64(pcb->iss);
544 thread_compose_cthread_desc((uint32_t) self, pcb);
556 * Swapping occurs inside the pcb.c file along with initialization
558 * pcb->uldt_selector variable will contain either 0 meaning the
560 * the FS register. pcb->uldt_desc contains the actual descriptor the
580 pcb_t pcb;
596 pcb = (pcb_t)current_thread()->machine.pcb;
605 // set up our data in the pcb
606 pcb->uldt_desc = *(struct real_descriptor*)&temp;
607 pcb->uldt_selector = USER_SETTABLE; // set the selector value
903 if (th->machine.pcb)
906 printf("[get_user_regs: thread does not have pcb]");