Lines Matching defs:rd
536 commpage_descriptor *rd,
542 if ( (rd->special & mode) == 0 ) // is this routine useable in this mode?
545 if (rd->commpage_address != cur_routine) {
547 panic("commpage no match for last, next address %08x", rd->commpage_address);
548 cur_routine = rd->commpage_address;
552 must = _cpu_capabilities & rd->musthave;
553 cant = _cpu_capabilities & rd->canthave;
555 if ((must == rd->musthave) && (cant == 0)) {
557 panic("commpage multiple matches for address %08x", rd->commpage_address);
559 routine_code = ((char*)rd) + rd->code_offset;
561 commpage_stuff(rd->commpage_address,routine_code,rd->code_length);
563 if (rd->special & kCommPageDCBA)
564 commpage_handle_dcbas(rd->commpage_address,rd->code_length);
566 if (rd->special & kCommPageSYNC)
567 commpage_handle_syncs(rd->commpage_address,rd->code_length);
569 if (rd->special & kCommPageISYNC)
570 commpage_handle_isyncs(rd->commpage_address,rd->code_length);
572 if (rd->special & kCommPageMTCRF)
573 commpage_handle_mtcrfs(rd->commpage_address,rd->code_length);
575 if ((mode == kCommPage64) && (rd->special & kPort32to64))
576 commpage_port_32_to_64(rd->commpage_address,rd->code_length);
597 commpage_descriptor **rd;
646 for( rd = routines; *rd != NULL ; rd++ )
647 commpage_stuff_routine(*rd,mode);