- th->top_act->mact.bbDescAddr = (unsigned int)kerndescaddr+origdescoffset; /* Set kernel address of the table */
- th->top_act->mact.bbUserDA = (unsigned int)Desc_TableStart; /* Set user address of the table */
- th->top_act->mact.bbTableStart = (unsigned int)TWI_TableStart; /* Set address of the trap table */
- th->top_act->mact.bbTaskID = (unsigned int)taskID; /* Assign opaque task ID */
- th->top_act->mact.bbTaskEnv = 0; /* Clean task environment data */
- th->top_act->mact.emPendRupts = 0; /* Clean pending 'rupt count */
- th->top_act->mact.bbTrap = bttd->TrapVector; /* Remember trap vector */
- th->top_act->mact.bbSysCall = bttd->SysCallVector; /* Remember syscall vector */
- th->top_act->mact.bbInterrupt = bttd->InterruptVector; /* Remember interrupt vector */
- th->top_act->mact.bbPending = bttd->PendingIntVector; /* Remember pending vector */
- th->top_act->mact.specFlags &= ~(bbNoMachSC | bbPreemptive); /* Make sure mach SCs are enabled and we are not marked preemptive */
- th->top_act->mact.specFlags |= bbThread; /* Set that we are Classic thread */
+ th->machine.bbDescAddr = (unsigned int)kerndescaddr+origdescoffset; /* Set kernel address of the table */
+ th->machine.bbUserDA = (unsigned int)Desc_TableStart; /* Set user address of the table */
+ th->machine.bbTableStart = (unsigned int)TWI_TableStart; /* Set address of the trap table */
+ th->machine.bbTaskID = (unsigned int)taskID; /* Assign opaque task ID */
+ th->machine.bbTaskEnv = 0; /* Clean task environment data */
+ th->machine.emPendRupts = 0; /* Clean pending 'rupt count */
+ th->machine.bbTrap = bttd->TrapVector; /* Remember trap vector */
+ th->machine.bbSysCall = bttd->SysCallVector; /* Remember syscall vector */
+ th->machine.bbInterrupt = bttd->InterruptVector; /* Remember interrupt vector */
+ th->machine.bbPending = bttd->PendingIntVector; /* Remember pending vector */
+ th->machine.specFlags &= ~(bbNoMachSC | bbPreemptive); /* Make sure mach SCs are enabled and we are not marked preemptive */
+ th->machine.specFlags |= bbThread; /* Set that we are Classic thread */