scu_unit_idx 247 src/dps8/dps8_cable.c static t_stat back_cable_iom_to_scu (int uncable, uint iom_unit_idx, uint iom_port_num, uint scu_unit_idx, uint scu_port_num) scu_unit_idx 262 src/dps8/dps8_cable.c p->scu_unit_idx = scu_unit_idx; scu_unit_idx 270 src/dps8/dps8_cable.c static t_stat cable_scu_to_iom (int uncable, uint scu_unit_idx, uint scu_port_num, uint iom_unit_idx, uint iom_port_num) scu_unit_idx 272 src/dps8/dps8_cable.c struct scu_to_iom_s * p = & cables->scu_to_iom[scu_unit_idx][scu_port_num]; scu_unit_idx 277 src/dps8/dps8_cable.c sim_printf ("uncable SCU%u port %d: not cabled\n", scu_unit_idx, scu_port_num); scu_unit_idx 283 src/dps8/dps8_cable.c scu_unit_idx, scu_port_num); scu_unit_idx 290 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].type = ADEV_NONE; scu_unit_idx 291 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_idx = 0; scu_unit_idx 293 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].is_exp = false; scu_unit_idx 300 src/dps8/dps8_cable.c sim_printf ("cable_scu: SCU %d port %d in use.\n", scu_unit_idx, scu_port_num); scu_unit_idx 306 src/dps8/dps8_cable.c scu_unit_idx, scu_port_num); scu_unit_idx 316 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].type = ADEV_IOM; scu_unit_idx 317 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_idx = (int) iom_unit_idx; scu_unit_idx 318 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_port[0] = (int) iom_port_num; scu_unit_idx 320 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].is_exp = 0; scu_unit_idx 329 src/dps8/dps8_cable.c uint scu_unit_idx, uint scu_port_num, uint scu_subport_num) scu_unit_idx 344 src/dps8/dps8_cable.c p->scu_unit_idx = scu_unit_idx; scu_unit_idx 353 src/dps8/dps8_cable.c static t_stat cable_scu_to_cpu (int uncable, uint scu_unit_idx, uint scu_port_num, scu_unit_idx 356 src/dps8/dps8_cable.c struct scu_to_cpu_s * p = & cables->scu_to_cpu[scu_unit_idx][scu_port_num][scu_subport_num]; scu_unit_idx 362 src/dps8/dps8_cable.c scu_unit_idx, scu_port_num, scu_subport_num); scu_unit_idx 368 src/dps8/dps8_cable.c scu_unit_idx, scu_port_num, scu_subport_num); scu_unit_idx 375 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].type = ADEV_NONE; scu_unit_idx 376 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_idx = 0; scu_unit_idx 378 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].is_exp = false; scu_unit_idx 379 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_port[scu_subport_num] = 0; scu_unit_idx 386 src/dps8/dps8_cable.c scu_unit_idx, scu_port_num, scu_subport_num); scu_unit_idx 392 src/dps8/dps8_cable.c scu_unit_idx, scu_port_num, scu_subport_num); scu_unit_idx 402 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].type = ADEV_CPU; scu_unit_idx 403 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_idx = (int) cpu_unit_idx; scu_unit_idx 404 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_port[0] = (int) cpu_port_num; scu_unit_idx 406 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].is_exp = is_exp; scu_unit_idx 407 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_port[scu_subport_num] = (int) cpu_port_num; scu_unit_idx 409 src/dps8/dps8_cable.c cpus[cpu_unit_idx].scu_port[scu_unit_idx] = scu_port_num; scu_unit_idx 419 src/dps8/dps8_cable.c static t_stat cable_scu (int uncable, uint scu_unit_idx, char * * name_save) scu_unit_idx 421 src/dps8/dps8_cable.c if (scu_unit_idx >= scu_dev.numunits) scu_unit_idx 424 src/dps8/dps8_cable.c scu_unit_idx); scu_unit_idx 480 src/dps8/dps8_cable.c return cable_scu_to_iom (uncable, scu_unit_idx, (uint) scu_port_num, scu_unit_idx 537 src/dps8/dps8_cable.c return cable_scu_to_cpu (uncable, scu_unit_idx, (uint) scu_port_num, scu_unit_idx 1391 src/dps8/dps8_cable.c scus_used[p->scu_unit_idx] = true; scu_unit_idx 1493 src/dps8/dps8_cable.c p->scu_unit_idx + 'A'); scu_unit_idx 1557 src/dps8/dps8_cable.c sim_printf (" %4u %4u %4u %4u\n", u, prt, p->scu_unit_idx, p->scu_port_num); scu_unit_idx 1582 src/dps8/dps8_cable.c u, prt, p->scu_unit_idx, p->scu_port_num, p->scu_subport_num); scu_unit_idx 113 src/dps8/dps8_cable.h uint scu_unit_idx; scu_unit_idx 128 src/dps8/dps8_cable.h uint scu_unit_idx; scu_unit_idx 283 src/dps8/dps8_cable.h (cables->cpu_to_scu[cpu_unit_idx][cpu_port_num].scu_unit_idx) scu_unit_idx 1741 src/dps8/dps8_cpu.c for (uint scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++) scu_unit_idx 1743 src/dps8/dps8_cpu.c if (cpu.events.XIP [scu_unit_idx]) scu_unit_idx 1745 src/dps8/dps8_cpu.c fp = scu_get_highest_intr (scu_unit_idx); // CALLED WITH SCU LOCK scu_unit_idx 1756 src/dps8/dps8_cpu.c for (uint scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++) scu_unit_idx 1758 src/dps8/dps8_cpu.c if (cpu.events.XIP [scu_unit_idx]) scu_unit_idx 902 src/dps8/dps8_iom.c uint scu_unit_idx = (uint) (up -> u3); scu_unit_idx 904 src/dps8/dps8_iom.c iom_interrupt (scu_unit_idx, iom_unit_idx); scu_unit_idx 1557 src/dps8/dps8_iom.c uint scu_unit_idx = cables->iom_to_scu[iom_unit_idx][port_num].scu_unit_idx; scu_unit_idx 1558 src/dps8/dps8_iom.c scu_unit_reset ((int) scu_unit_idx); scu_unit_idx 1577 src/dps8/dps8_iom.c uint scu_unit_idx = cables->iom_to_scu[iom_unit_idx][0].scu_unit_idx; scu_unit_idx 1578 src/dps8/dps8_iom.c iom_interrupt (scu_unit_idx, iom_unit_idx); scu_unit_idx 3468 src/dps8/dps8_iom.c void iom_interrupt (uint scu_unit_idx, uint iom_unit_idx) scu_unit_idx 3474 src/dps8/dps8_iom.c iom_unit_data[iom_unit_idx].invokingScuUnitIdx = scu_unit_idx; scu_unit_idx 630 src/dps8/dps8_scu.c long scu_unit_idx = UNIT_NUM (uptr); scu_unit_idx 631 src/dps8/dps8_scu.c if (scu_unit_idx < 0 || scu_unit_idx >= (int) scu_dev.numunits) scu_unit_idx 635 src/dps8/dps8_scu.c (long) scu_unit_idx); scu_unit_idx 636 src/dps8/dps8_scu.c sim_printf ("error: Invalid unit number %ld\n", (long) scu_unit_idx); scu_unit_idx 640 src/dps8/dps8_scu.c sim_printf ("SCU unit number %ld\n", (long) scu_unit_idx); scu_unit_idx 641 src/dps8/dps8_scu.c scu_t * scup = scu + scu_unit_idx; scu_unit_idx 643 src/dps8/dps8_scu.c config_switches[scu_unit_idx].mode ? "PROGRAM" : "MANUAL"); scu_unit_idx 695 src/dps8/dps8_scu.c long scu_unit_idx = UNIT_NUM (uptr); scu_unit_idx 696 src/dps8/dps8_scu.c if (scu_unit_idx < 0 || scu_unit_idx >= (int) scu_dev.numunits) scu_unit_idx 700 src/dps8/dps8_scu.c (long) scu_unit_idx); scu_unit_idx 701 src/dps8/dps8_scu.c sim_printf ("error: Invalid unit number %ld\n", (long) scu_unit_idx); scu_unit_idx 705 src/dps8/dps8_scu.c sim_printf ("SCU unit number %ld\n", (long) scu_unit_idx); scu_unit_idx 707 src/dps8/dps8_scu.c struct config_switches * sw = config_switches + scu_unit_idx; scu_unit_idx 847 src/dps8/dps8_scu.c long scu_unit_idx = UNIT_NUM (uptr); scu_unit_idx 848 src/dps8/dps8_scu.c if (scu_unit_idx < 0 || scu_unit_idx >= (int) scu_dev.numunits) scu_unit_idx 851 src/dps8/dps8_scu.c "scu_set_config: Invalid unit number %ld\n", (long) scu_unit_idx); scu_unit_idx 853 src/dps8/dps8_scu.c (long) scu_unit_idx); scu_unit_idx 857 src/dps8/dps8_scu.c struct config_switches * sw = config_switches + scu_unit_idx; scu_unit_idx 927 src/dps8/dps8_scu.c scu [scu_unit_idx].elapsed_days = (uint) v; scu_unit_idx 929 src/dps8/dps8_scu.c scu [scu_unit_idx].steady_clock = (uint) v; scu_unit_idx 931 src/dps8/dps8_scu.c scu [scu_unit_idx].bullet_time = (uint) v; scu_unit_idx 933 src/dps8/dps8_scu.c scu [scu_unit_idx].y2k = (uint) v; scu_unit_idx 1043 src/dps8/dps8_scu.c static void dump_intr_regs (char * ctx, uint scu_unit_idx) scu_unit_idx 1045 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 1074 src/dps8/dps8_scu.c scu_unit_idx 1104 src/dps8/dps8_scu.c void scu_unit_reset (int scu_unit_idx) scu_unit_idx 1106 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 1107 src/dps8/dps8_scu.c struct config_switches * sw = config_switches + scu_unit_idx; scu_unit_idx 1131 src/dps8/dps8_scu.c struct ports * portp = & scu [scu_unit_idx].ports [port_num]; scu_unit_idx 1154 src/dps8/dps8_scu.c for (int scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++) scu_unit_idx 1155 src/dps8/dps8_scu.c scu_unit_reset (scu_unit_idx); scu_unit_idx 1166 src/dps8/dps8_scu.c static uint64 set_SCU_clock (uint scu_unit_idx) scu_unit_idx 1229 src/dps8/dps8_scu.c Multics_usecs += (uint64) scu [scu_unit_idx].user_correction; scu_unit_idx 1234 src/dps8/dps8_scu.c if (scu [scu_unit_idx].last_time >= Multics_usecs) scu_unit_idx 1237 src/dps8/dps8_scu.c Multics_usecs = scu [scu_unit_idx].last_time + 1; scu_unit_idx 1239 src/dps8/dps8_scu.c scu [scu_unit_idx].last_time = Multics_usecs; scu_unit_idx 1293 src/dps8/dps8_scu.c Multics_usecs += (uint64) scu [scu_unit_idx].user_correction; scu_unit_idx 1295 src/dps8/dps8_scu.c if (scu [scu_unit_idx].last_time >= Multics_usecs) scu_unit_idx 1296 src/dps8/dps8_scu.c Multics_usecs = scu [scu_unit_idx].last_time + 1; scu_unit_idx 1297 src/dps8/dps8_scu.c scu [scu_unit_idx].last_time = Multics_usecs; scu_unit_idx 1304 src/dps8/dps8_scu.c return scu [scu_unit_idx].last_time; scu_unit_idx 1309 src/dps8/dps8_scu.c static char * pcells (uint scu_unit_idx, char * buf) scu_unit_idx 1313 src/dps8/dps8_scu.c if (scu [scu_unit_idx].cells [i]) scu_unit_idx 1336 src/dps8/dps8_scu.c static void deliver_interrupts (uint scu_unit_idx) scu_unit_idx 1338 src/dps8/dps8_scu.c sim_debug (DBG_DEBUG, & scu_dev, "deliver_interrupts %o\n", scu_unit_idx); scu_unit_idx 1341 src/dps8/dps8_scu.c cpus[cpun].events.XIP[scu_unit_idx] = false; scu_unit_idx 1357 src/dps8/dps8_scu.c if (! scu [scu_unit_idx].cells [inum]) scu_unit_idx 1361 src/dps8/dps8_scu.c "scu %u trying to deliver %d\n", scu_unit_idx, inum); scu_unit_idx 1368 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [pima] == 0) scu_unit_idx 1370 src/dps8/dps8_scu.c uint mask = scu [scu_unit_idx].exec_intr_mask [pima]; scu_unit_idx 1371 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; scu_unit_idx 1376 src/dps8/dps8_scu.c if (scu [scu_unit_idx].ports [port].type != ADEV_CPU) scu_unit_idx 1381 src/dps8/dps8_scu.c if (scu[scu_unit_idx].ports[port].is_exp) scu_unit_idx 1383 src/dps8/dps8_scu.c sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval; scu_unit_idx 1390 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use) scu_unit_idx 1392 src/dps8/dps8_scu.c sim_warn ("bad scu_unit_idx %u\n", scu_unit_idx); scu_unit_idx 1395 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; scu_unit_idx 1397 src/dps8/dps8_scu.c cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true; scu_unit_idx 1399 src/dps8/dps8_scu.c HDBGIntrSet (inum, cpu_unit_udx, scu_unit_idx, __func__); scu_unit_idx 1407 src/dps8/dps8_scu.c cpu_unit_udx, scu_unit_idx); scu_unit_idx 1413 src/dps8/dps8_scu.c cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true; scu_unit_idx 1414 src/dps8/dps8_scu.c sim_debug (DBG_DEBUG, & scu_dev, "interrupt set for CPU %d SCU %d\n", cpu_unit_udx, scu_unit_idx); scu_unit_idx 1416 src/dps8/dps8_scu.c "XIP set for SCU %d\n", scu_unit_idx); scu_unit_idx 1424 src/dps8/dps8_scu.c if (! scu [scu_unit_idx].cells [inum]) scu_unit_idx 1428 src/dps8/dps8_scu.c "scu %u trying to deliver %d\n", scu_unit_idx, inum); scu_unit_idx 1435 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [pima] == 0) scu_unit_idx 1437 src/dps8/dps8_scu.c uint mask = scu [scu_unit_idx].exec_intr_mask [pima]; scu_unit_idx 1438 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; scu_unit_idx 1443 src/dps8/dps8_scu.c if (scu [scu_unit_idx].ports [port].type != ADEV_CPU) scu_unit_idx 1448 src/dps8/dps8_scu.c if (scu[scu_unit_idx].ports[port].is_exp) scu_unit_idx 1450 src/dps8/dps8_scu.c sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval; scu_unit_idx 1457 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use) scu_unit_idx 1459 src/dps8/dps8_scu.c sim_warn ("bad scu_unit_idx %u\n", scu_unit_idx); scu_unit_idx 1462 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; scu_unit_idx 1464 src/dps8/dps8_scu.c cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true; scu_unit_idx 1466 src/dps8/dps8_scu.c HDBGIntrSet (inum, cpu_unit_udx, scu_unit_idx, __func__); scu_unit_idx 1474 src/dps8/dps8_scu.c cpu_unit_udx, scu_unit_idx); scu_unit_idx 1480 src/dps8/dps8_scu.c cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true; scu_unit_idx 1481 src/dps8/dps8_scu.c sim_debug (DBG_DEBUG, & scu_dev, "interrupt set for CPU %d SCU %d\n", cpu_unit_udx, scu_unit_idx); scu_unit_idx 1483 src/dps8/dps8_scu.c "XIP set for SCU %d\n", scu_unit_idx); scu_unit_idx 1491 src/dps8/dps8_scu.c t_stat scu_smic (uint scu_unit_idx, uint UNUSED cpu_unit_udx, scu_unit_idx 1504 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i + 16] = 1; scu_unit_idx 1509 src/dps8/dps8_scu.c scu_unit_idx, pcells (scu_unit_idx, pcellb)); scu_unit_idx 1516 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i] = 1; scu_unit_idx 1521 src/dps8/dps8_scu.c scu_unit_idx, pcells (scu_unit_idx, pcellb)); scu_unit_idx 1528 src/dps8/dps8_scu.c scu_unit_idx 1533 src/dps8/dps8_scu.c scu_unit_idx 1539 src/dps8/dps8_scu.c scu_unit_idx 1545 src/dps8/dps8_scu.c scu_unit_idx 1548 src/dps8/dps8_scu.c dump_intr_regs ("smic", scu_unit_idx); scu_unit_idx 1549 src/dps8/dps8_scu.c deliver_interrupts (scu_unit_idx); scu_unit_idx 1585 src/dps8/dps8_scu.c t_stat scu_sscr (uint scu_unit_idx, UNUSED uint cpu_unit_udx, scu_unit_idx 1589 src/dps8/dps8_scu.c sim_debug (DBG_DEBUG, & scu_dev, "sscr SCU unit %o\n", scu_unit_idx); scu_unit_idx 1593 src/dps8/dps8_scu.c if (scu_unit_idx >= scu_dev.numunits) scu_unit_idx 1597 src/dps8/dps8_scu.c __func__, scu_unit_idx); scu_unit_idx 1608 src/dps8/dps8_scu.c if (config_switches [scu_unit_idx].mode != MODE_PROGRAM) scu_unit_idx 1627 src/dps8/dps8_scu.c scu [scu_unit_idx].id = (word4) getbits36_4 (regq, 50 - 36); scu_unit_idx 1628 src/dps8/dps8_scu.c scu [scu_unit_idx].mode_reg = getbits36_18 (regq, 54 - 36); scu_unit_idx 1640 src/dps8/dps8_scu.c scu_unit_idx, rega, regq); scu_unit_idx 1644 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 1653 src/dps8/dps8_scu.c scu_unit_idx, maskab); scu_unit_idx 1660 src/dps8/dps8_scu.c scu_unit_idx, maskab); scu_unit_idx 1674 src/dps8/dps8_scu.c scu_unit_idx, 'a' + maskab, up->mask_enable[maskab], scu_unit_idx 1728 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [p] == 0) scu_unit_idx 1731 src/dps8/dps8_scu.c if (scu [scu_unit_idx ].mask_assignment [p] == port_num) scu_unit_idx 1761 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num] = 0; scu_unit_idx 1762 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num] |= scu_unit_idx 1764 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num] |= scu_unit_idx 1770 src/dps8/dps8_scu.c scu_unit_idx 1778 src/dps8/dps8_scu.c scu_unit_idx, port_num, mask_num, scu_unit_idx 1779 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num]); scu_unit_idx 1780 src/dps8/dps8_scu.c dump_intr_regs ("sscr set mask", scu_unit_idx); scu_unit_idx 1781 src/dps8/dps8_scu.c scu [scu_unit_idx].mask_enable [mask_num] = 1; scu_unit_idx 1785 src/dps8/dps8_scu.c scu_unit_idx, 'a' + mask_num, scu_unit_idx 1786 src/dps8/dps8_scu.c scu[scu_unit_idx].exec_intr_mask[mask_num]); scu_unit_idx 1788 src/dps8/dps8_scu.c deliver_interrupts (scu_unit_idx); scu_unit_idx 1802 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i] = scu_unit_idx 1804 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i + 16] = scu_unit_idx 1810 src/dps8/dps8_scu.c scu_unit_idx, pcells (scu_unit_idx, pcellb)); scu_unit_idx 1813 src/dps8/dps8_scu.c scu_unit_idx, pcells (scu_unit_idx, pcellb)); scu_unit_idx 1814 src/dps8/dps8_scu.c dump_intr_regs ("sscr set interrupt cells", scu_unit_idx); scu_unit_idx 1815 src/dps8/dps8_scu.c deliver_interrupts (scu_unit_idx); scu_unit_idx 1832 src/dps8/dps8_scu.c scu [scu_unit_idx].user_correction = scu_unit_idx 1833 src/dps8/dps8_scu.c (int64) (new_clk - set_SCU_clock (scu_unit_idx)); scu_unit_idx 1858 src/dps8/dps8_scu.c t_stat scu_rscr (uint scu_unit_idx, uint cpu_unit_udx, word18 addr, scu_unit_idx 1863 src/dps8/dps8_scu.c if (scu_unit_idx >= scu_dev.numunits) scu_unit_idx 1866 src/dps8/dps8_scu.c __func__, scu_unit_idx); scu_unit_idx 1900 src/dps8/dps8_scu.c putbits36_4 (regq, 50 - 36, scu [scu_unit_idx].id); scu_unit_idx 1901 src/dps8/dps8_scu.c putbits36_18 (regq, 54 - 36, scu [scu_unit_idx].mode_reg); scu_unit_idx 1940 src/dps8/dps8_scu.c sim_debug (DBG_DEBUG, & scu_dev, "rscr 1 %d\n", scu_unit_idx); scu_unit_idx 1944 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 1964 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && scu_unit_idx 1965 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == scu_unit_idx 1981 src/dps8/dps8_scu.c __func__, scu_unit_idx, cpu_unit_udx); scu_unit_idx 1994 src/dps8/dps8_scu.c putbits36_1 (& a, 21, (word1) config_switches[scu_unit_idx].mode); scu_unit_idx 2026 src/dps8/dps8_scu.c scu_unit_idx, * rega, * regq); scu_unit_idx 2036 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 2067 src/dps8/dps8_scu.c scu_unit_idx, port_num, up -> mask_assignment [0], scu_unit_idx 2078 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 2098 src/dps8/dps8_scu.c uint64 clk = set_SCU_clock (scu_unit_idx); scu_unit_idx 2174 src/dps8/dps8_scu.c int scu_cioc (uint cpu_unit_udx, uint scu_unit_idx, uint scu_port_num, scu_unit_idx 2183 src/dps8/dps8_scu.c cpu_unit_udx, scu_unit_idx, scu_port_num, scu_unit_idx 2189 src/dps8/dps8_scu.c struct ports * portp = & scu [scu_unit_idx].ports [scu_port_num]; scu_unit_idx 2192 src/dps8/dps8_scu.c if (! scu [scu_unit_idx].port_enable [scu_port_num]) scu_unit_idx 2198 src/dps8/dps8_scu.c scu_unit_idx, scu_port_num); scu_unit_idx 2243 src/dps8/dps8_scu.c iom_interrupt (scu_unit_idx, (uint) iom_unit_idx); scu_unit_idx 2252 src/dps8/dps8_scu.c iom_interrupt (scu_unit_idx, (uint) iom_unit_idx); scu_unit_idx 2265 src/dps8/dps8_scu.c iom_dev.units[iom_unit_idx].u3 = (int32) scu_unit_idx; scu_unit_idx 2290 src/dps8/dps8_scu.c scu_to_cpu[scu_unit_idx][scu_port_num][sn].in_use) scu_unit_idx 2296 src/dps8/dps8_scu.c scu_to_cpu[scu_unit_idx][scu_port_num][sn].cpu_unit_idx; scu_unit_idx 2303 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].in_use) scu_unit_idx 2310 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].cpu_unit_idx; scu_unit_idx 2319 src/dps8/dps8_scu.c scu_unit_idx 2324 src/dps8/dps8_scu.c scu_unit_idx 2361 src/dps8/dps8_scu.c int scu_set_interrupt (uint scu_unit_idx, uint inum) scu_unit_idx 2375 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [inum] = 1; scu_unit_idx 2376 src/dps8/dps8_scu.c dump_intr_regs ("scu_set_interrupt", scu_unit_idx); scu_unit_idx 2377 src/dps8/dps8_scu.c deliver_interrupts (scu_unit_idx); scu_unit_idx 2390 src/dps8/dps8_scu.c uint scu_get_highest_intr (uint scu_unit_idx) scu_unit_idx 2400 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [pima] == 0) scu_unit_idx 2402 src/dps8/dps8_scu.c uint mask = scu [scu_unit_idx].exec_intr_mask [pima]; scu_unit_idx 2403 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; scu_unit_idx 2406 src/dps8/dps8_scu.c if (scu[scu_unit_idx].ports[port].type != ADEV_CPU || scu_unit_idx 2407 src/dps8/dps8_scu.c cpus[current_running_cpu_idx].scu_port[scu_unit_idx] != port) scu_unit_idx 2409 src/dps8/dps8_scu.c if (scu [scu_unit_idx].cells [inum] && scu_unit_idx 2412 src/dps8/dps8_scu.c sim_debug (DBG_TRACE, & scu_dev, "scu_get_highest_intr inum %d pima %u mask 0%011o port %u cells 0%011o\n", inum, pima, mask, port, scu [scu_unit_idx].cells [inum]); scu_unit_idx 2413 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [inum] = false; scu_unit_idx 2414 src/dps8/dps8_scu.c dump_intr_regs ("scu_get_highest_intr", scu_unit_idx); scu_unit_idx 2415 src/dps8/dps8_scu.c deliver_interrupts (scu_unit_idx); scu_unit_idx 2433 src/dps8/dps8_scu.c uint scu_unit_idx = (uint) (uptr - scu_unit); scu_unit_idx 2434 src/dps8/dps8_scu.c scu_unit_reset ((int) scu_unit_idx); scu_unit_idx 2468 src/dps8/dps8_scu.c t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_udx, word36 * rega, scu_unit_idx 2471 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 2486 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && scu_unit_idx 2487 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == scu_unit_idx 2504 src/dps8/dps8_scu.c __func__, scu_unit_idx, cpu_unit_udx); scu_unit_idx 2508 src/dps8/dps8_scu.c __func__, scu_unit_idx, cpu_unit_udx); scu_unit_idx 2560 src/dps8/dps8_scu.c dump_intr_regs ("rmcm", scu_unit_idx); scu_unit_idx 2564 src/dps8/dps8_scu.c t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_udx, word36 rega, word36 regq) scu_unit_idx 2568 src/dps8/dps8_scu.c scu_unit_idx, cpu_unit_udx, rega, regq); scu_unit_idx 2570 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 2581 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && scu_unit_idx 2582 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == scu_unit_idx 2598 src/dps8/dps8_scu.c __func__, scu_unit_idx, cpu_unit_udx); scu_unit_idx 2630 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [0] = (uint) getbits36_1 (rega, 32); scu_unit_idx 2631 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [1] = (uint) getbits36_1 (rega, 33); scu_unit_idx 2632 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [2] = (uint) getbits36_1 (rega, 34); scu_unit_idx 2633 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [3] = (uint) getbits36_1 (rega, 35); scu_unit_idx 2634 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [4] = (uint) getbits36_1 (regq, 32); scu_unit_idx 2635 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [5] = (uint) getbits36_1 (regq, 33); scu_unit_idx 2636 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [6] = (uint) getbits36_1 (regq, 34); scu_unit_idx 2637 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [7] = (uint) getbits36_1 (regq, 35); scu_unit_idx 2639 src/dps8/dps8_scu.c dump_intr_regs ("smcm", scu_unit_idx); scu_unit_idx 2640 src/dps8/dps8_scu.c deliver_interrupts (scu_unit_idx); scu_unit_idx 95 src/dps8/dps8_scu.h int scu_set_interrupt(uint scu_unit_idx, uint inum); scu_unit_idx 97 src/dps8/dps8_scu.h t_stat scu_sscr (uint scu_unit_idx, UNUSED uint cpu_unit_idx, uint cpu_port_num, word18 addr, scu_unit_idx 99 src/dps8/dps8_scu.h t_stat scu_smic (uint scu_unit_idx, uint UNUSED cpu_unit_idx, uint cpu_port_num, word36 rega); scu_unit_idx 100 src/dps8/dps8_scu.h t_stat scu_rscr (uint scu_unit_idx, uint cpu_unit_idx, word18 addr, word36 * rega, word36 * regq); scu_unit_idx 101 src/dps8/dps8_scu.h int scu_cioc (uint cpu_unit_idx, uint scu_unit_idx, uint scu_port_num, uint expander_command, uint sub_mask); scu_unit_idx 102 src/dps8/dps8_scu.h t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_idx, word36 * rega, word36 * regq); scu_unit_idx 103 src/dps8/dps8_scu.h t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_idx, word36 rega, word36 regq); scu_unit_idx 104 src/dps8/dps8_scu.h void scu_clear_interrupt (uint scu_unit_idx, uint inum); scu_unit_idx 105 src/dps8/dps8_scu.h uint scu_get_highest_intr (uint scu_unit_idx); scu_unit_idx 109 src/dps8/dps8_scu.h void scu_unit_reset (int scu_unit_idx);