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

Lines Matching defs:bttd

80 	BTTD_t			*bttd;
92 bttd = (BTTD_t *)(fact->machine.bbDescAddr & -PAGE_SIZE);
93 if(bttd->InterruptVector) { /* Is this the Blue interrupt thread? */
118 bttd->InterruptControlWord = bttd->InterruptControlWord |
119 ((bttd->postIntMask >> kCR2ToBackupShift) & kBackupCR2Mask);
160 BTTD_t *bttd;
178 bttd = (BTTD_t *)(act->machine.bbDescAddr & -PAGE_SIZE);
180 interruptState = (bttd->InterruptControlWord & kInterruptStateMask) >> kInterruptStateShift;
185 sv->save_cr |= bttd->postIntMask; /* post int in CR2 */
189 bttd->InterruptControlWord = (bttd->InterruptControlWord & ~kInterruptStateMask) |
192 bttd->exceptionInfo.srr0 = (unsigned int)sv->save_srr0; /* Save the current PC */
194 bttd->exceptionInfo.sprg1 = (unsigned int)sv->save_r1; /* Save the original R1 */
195 sv->save_r1 = (uint64_t)bttd->exceptionInfo.sprg0; /* Set the new R1 */
196 bttd->exceptionInfo.srr1 = (unsigned int)sv->save_srr1; /* Save the original MSR */
207 bttd->InterruptControlWord = bttd->InterruptControlWord |
208 ((bttd->postIntMask >> kCR2ToBackupShift) & kBackupCR2Mask);
246 BTTD_t *bttd;
288 bttd = (BTTD_t *)kerndescaddr; /* Get the address in a convienient spot */
296 th->machine.bbTrap = bttd->TrapVector; /* Remember trap vector */
297 th->machine.bbSysCall = bttd->SysCallVector; /* Remember syscall vector */
298 th->machine.bbInterrupt = bttd->InterruptVector; /* Remember interrupt vector */
299 th->machine.bbPending = bttd->PendingIntVector; /* Remember pending vector */
303 if(!(bttd->InterruptVector)) { /* See if this is a preemptive (MP) BlueBox thread */