scu_unit_idx 242 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 257 src/dps8/dps8_cable.c p->scu_unit_idx = scu_unit_idx; scu_unit_idx 265 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 267 src/dps8/dps8_cable.c struct scu_to_iom_s * p = & cables->scu_to_iom[scu_unit_idx][scu_port_num]; scu_unit_idx 272 src/dps8/dps8_cable.c sim_printf ("uncable SCU%u port %d: not cabled\r\n", scu_unit_idx, scu_port_num); scu_unit_idx 278 src/dps8/dps8_cable.c scu_unit_idx, scu_port_num); scu_unit_idx 285 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].type = ADEV_NONE; scu_unit_idx 286 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_idx = 0; scu_unit_idx 288 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].is_exp = false; scu_unit_idx 295 src/dps8/dps8_cable.c sim_printf ("cable_scu: SCU %d port %d in use.\r\n", scu_unit_idx, scu_port_num); scu_unit_idx 301 src/dps8/dps8_cable.c scu_unit_idx, scu_port_num); scu_unit_idx 311 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].type = ADEV_IOM; scu_unit_idx 312 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_idx = (int) iom_unit_idx; scu_unit_idx 313 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_port[0] = (int) iom_port_num; scu_unit_idx 315 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].is_exp = 0; scu_unit_idx 324 src/dps8/dps8_cable.c uint scu_unit_idx, uint scu_port_num, uint scu_subport_num) scu_unit_idx 339 src/dps8/dps8_cable.c p->scu_unit_idx = scu_unit_idx; scu_unit_idx 348 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 351 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 357 src/dps8/dps8_cable.c scu_unit_idx, scu_port_num, scu_subport_num); scu_unit_idx 363 src/dps8/dps8_cable.c scu_unit_idx, scu_port_num, scu_subport_num); scu_unit_idx 370 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].type = ADEV_NONE; scu_unit_idx 371 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_idx = 0; scu_unit_idx 373 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].is_exp = false; scu_unit_idx 374 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_port[scu_subport_num] = 0; scu_unit_idx 381 src/dps8/dps8_cable.c scu_unit_idx, scu_port_num, scu_subport_num); scu_unit_idx 387 src/dps8/dps8_cable.c scu_unit_idx, scu_port_num, scu_subport_num); scu_unit_idx 397 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].type = ADEV_CPU; scu_unit_idx 398 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_idx = (int) cpu_unit_idx; scu_unit_idx 399 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_port[0] = (int) cpu_port_num; scu_unit_idx 401 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].is_exp = is_exp; scu_unit_idx 402 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 404 src/dps8/dps8_cable.c cpus[cpu_unit_idx].scu_port[scu_unit_idx] = scu_port_num; scu_unit_idx 414 src/dps8/dps8_cable.c static t_stat cable_scu (int uncable, uint scu_unit_idx, char * * name_save) scu_unit_idx 416 src/dps8/dps8_cable.c if (scu_unit_idx >= scu_dev.numunits) scu_unit_idx 419 src/dps8/dps8_cable.c scu_unit_idx); scu_unit_idx 475 src/dps8/dps8_cable.c return cable_scu_to_iom (uncable, scu_unit_idx, (uint) scu_port_num, scu_unit_idx 532 src/dps8/dps8_cable.c return cable_scu_to_cpu (uncable, scu_unit_idx, (uint) scu_port_num, scu_unit_idx 1368 src/dps8/dps8_cable.c scus_used[p->scu_unit_idx] = true; scu_unit_idx 1470 src/dps8/dps8_cable.c p->scu_unit_idx + 'A'); scu_unit_idx 1534 src/dps8/dps8_cable.c sim_printf (" %4u %4u %4u %4u\r\n", u, prt, p->scu_unit_idx, p->scu_port_num); scu_unit_idx 1559 src/dps8/dps8_cable.c u, prt, p->scu_unit_idx, p->scu_port_num, p->scu_subport_num); scu_unit_idx 110 src/dps8/dps8_cable.h uint scu_unit_idx; scu_unit_idx 125 src/dps8/dps8_cable.h uint scu_unit_idx; scu_unit_idx 280 src/dps8/dps8_cable.h (cables->cpu_to_scu[cpu_unit_idx][cpu_port_num].scu_unit_idx) scu_unit_idx 1739 src/dps8/dps8_cpu.c for (uint scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++) scu_unit_idx 1741 src/dps8/dps8_cpu.c if (cpu.events.XIP [scu_unit_idx]) scu_unit_idx 1743 src/dps8/dps8_cpu.c fp = scu_get_highest_intr (scu_unit_idx); // CALLED WITH SCU LOCK scu_unit_idx 1754 src/dps8/dps8_cpu.c for (uint scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++) scu_unit_idx 1756 src/dps8/dps8_cpu.c if (cpu.events.XIP [scu_unit_idx]) scu_unit_idx 904 src/dps8/dps8_iom.c uint scu_unit_idx = (uint) (up -> u3); scu_unit_idx 906 src/dps8/dps8_iom.c iom_interrupt (scu_unit_idx, iom_unit_idx); scu_unit_idx 1559 src/dps8/dps8_iom.c uint scu_unit_idx = cables->iom_to_scu[iom_unit_idx][port_num].scu_unit_idx; scu_unit_idx 1560 src/dps8/dps8_iom.c scu_unit_reset ((int) scu_unit_idx); scu_unit_idx 1579 src/dps8/dps8_iom.c uint scu_unit_idx = cables->iom_to_scu[iom_unit_idx][0].scu_unit_idx; scu_unit_idx 1580 src/dps8/dps8_iom.c iom_interrupt (scu_unit_idx, iom_unit_idx); scu_unit_idx 3503 src/dps8/dps8_iom.c void iom_interrupt (uint scu_unit_idx, uint iom_unit_idx) scu_unit_idx 3510 src/dps8/dps8_iom.c iom_unit_data[iom_unit_idx].invokingScuUnitIdx = scu_unit_idx; scu_unit_idx 638 src/dps8/dps8_scu.c long scu_unit_idx = UNIT_NUM (uptr); scu_unit_idx 639 src/dps8/dps8_scu.c if (scu_unit_idx < 0 || scu_unit_idx >= (int) scu_dev.numunits) scu_unit_idx 643 src/dps8/dps8_scu.c (long) scu_unit_idx); scu_unit_idx 644 src/dps8/dps8_scu.c sim_printf ("error: Invalid unit number %ld\r\n", (long) scu_unit_idx); scu_unit_idx 648 src/dps8/dps8_scu.c sim_printf ("SCU unit number %ld\r\n", (long) scu_unit_idx); scu_unit_idx 649 src/dps8/dps8_scu.c scu_t * scup = scu + scu_unit_idx; scu_unit_idx 651 src/dps8/dps8_scu.c config_switches[scu_unit_idx].mode ? "PROGRAM" : "MANUAL"); scu_unit_idx 706 src/dps8/dps8_scu.c long scu_unit_idx = UNIT_NUM (uptr); scu_unit_idx 707 src/dps8/dps8_scu.c if (scu_unit_idx < 0 || scu_unit_idx >= (int) scu_dev.numunits) scu_unit_idx 711 src/dps8/dps8_scu.c (long) scu_unit_idx); scu_unit_idx 712 src/dps8/dps8_scu.c sim_printf ("error: Invalid unit number %ld\r\n", (long) scu_unit_idx); scu_unit_idx 716 src/dps8/dps8_scu.c sim_printf ("SCU unit number %ld\r\n", (long) scu_unit_idx); scu_unit_idx 718 src/dps8/dps8_scu.c struct config_switches * sw = config_switches + scu_unit_idx; scu_unit_idx 861 src/dps8/dps8_scu.c long scu_unit_idx = UNIT_NUM (uptr); scu_unit_idx 862 src/dps8/dps8_scu.c if (scu_unit_idx < 0 || scu_unit_idx >= (int) scu_dev.numunits) scu_unit_idx 865 src/dps8/dps8_scu.c "scu_set_config: Invalid unit number %ld\r\n", (long) scu_unit_idx); scu_unit_idx 867 src/dps8/dps8_scu.c (long) scu_unit_idx); scu_unit_idx 871 src/dps8/dps8_scu.c struct config_switches * sw = config_switches + scu_unit_idx; scu_unit_idx 941 src/dps8/dps8_scu.c scu [scu_unit_idx].elapsed_days = (uint) v; scu_unit_idx 943 src/dps8/dps8_scu.c scu [scu_unit_idx].steady_clock = (uint) v; scu_unit_idx 945 src/dps8/dps8_scu.c scu [scu_unit_idx].bullet_time = (uint) v; scu_unit_idx 947 src/dps8/dps8_scu.c scu [scu_unit_idx].clock_delta = (int64_t) v; scu_unit_idx 1057 src/dps8/dps8_scu.c static void dump_intr_regs (char * ctx, uint scu_unit_idx) scu_unit_idx 1060 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 1090 src/dps8/dps8_scu.c scu_unit_idx 1121 src/dps8/dps8_scu.c void scu_unit_reset (int scu_unit_idx) scu_unit_idx 1123 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 1124 src/dps8/dps8_scu.c struct config_switches * sw = config_switches + scu_unit_idx; scu_unit_idx 1148 src/dps8/dps8_scu.c struct ports * portp = & scu [scu_unit_idx].ports [port_num]; scu_unit_idx 1171 src/dps8/dps8_scu.c for (int scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++) scu_unit_idx 1172 src/dps8/dps8_scu.c scu_unit_reset (scu_unit_idx); scu_unit_idx 1183 src/dps8/dps8_scu.c static uint64 set_SCU_clock (cpu_state_t * cpup, uint scu_unit_idx) scu_unit_idx 1246 src/dps8/dps8_scu.c Multics_usecs += (uint64) scu [scu_unit_idx].user_correction; scu_unit_idx 1251 src/dps8/dps8_scu.c if (scu [scu_unit_idx].last_time >= Multics_usecs) scu_unit_idx 1254 src/dps8/dps8_scu.c Multics_usecs = scu [scu_unit_idx].last_time + 1; scu_unit_idx 1256 src/dps8/dps8_scu.c scu [scu_unit_idx].last_time = Multics_usecs; scu_unit_idx 1274 src/dps8/dps8_scu.c if (scu [scu_unit_idx].clock_delta) // Apply clock_delta correction. scu_unit_idx 1275 src/dps8/dps8_scu.c now.tv_sec += scu [scu_unit_idx].clock_delta; scu_unit_idx 1303 src/dps8/dps8_scu.c Multics_usecs += (uint64) scu [scu_unit_idx].user_correction; scu_unit_idx 1305 src/dps8/dps8_scu.c if (scu [scu_unit_idx].last_time >= Multics_usecs) scu_unit_idx 1306 src/dps8/dps8_scu.c Multics_usecs = scu [scu_unit_idx].last_time + 1; scu_unit_idx 1307 src/dps8/dps8_scu.c scu [scu_unit_idx].last_time = Multics_usecs; scu_unit_idx 1314 src/dps8/dps8_scu.c return scu [scu_unit_idx].last_time; scu_unit_idx 1318 src/dps8/dps8_scu.c static char * pcells (uint scu_unit_idx, char * buf) scu_unit_idx 1322 src/dps8/dps8_scu.c if (scu [scu_unit_idx].cells [i]) scu_unit_idx 1345 src/dps8/dps8_scu.c static void deliver_interrupts (cpu_state_t * cpup, uint scu_unit_idx) scu_unit_idx 1350 src/dps8/dps8_scu.c sim_debug (DBG_DEBUG, & scu_dev, "deliver_interrupts %o\r\n", scu_unit_idx); scu_unit_idx 1358 src/dps8/dps8_scu.c cpus[cpun].events.XIP[scu_unit_idx] = false; scu_unit_idx 1374 src/dps8/dps8_scu.c if (! scu [scu_unit_idx].cells [inum]) scu_unit_idx 1378 src/dps8/dps8_scu.c "scu %u trying to deliver %d\r\n", scu_unit_idx, inum); scu_unit_idx 1385 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [pima] == 0) scu_unit_idx 1387 src/dps8/dps8_scu.c uint mask = scu [scu_unit_idx].exec_intr_mask [pima]; scu_unit_idx 1388 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; scu_unit_idx 1393 src/dps8/dps8_scu.c if (scu [scu_unit_idx].ports [port].type != ADEV_CPU) scu_unit_idx 1398 src/dps8/dps8_scu.c if (scu[scu_unit_idx].ports[port].is_exp) scu_unit_idx 1400 src/dps8/dps8_scu.c sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval; scu_unit_idx 1407 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use) scu_unit_idx 1409 src/dps8/dps8_scu.c sim_warn ("bad scu_unit_idx %u\r\n", scu_unit_idx); scu_unit_idx 1412 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; scu_unit_idx 1436 src/dps8/dps8_scu.c cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true; scu_unit_idx 1438 src/dps8/dps8_scu.c HDBGIntrSet (inum, cpu_unit_udx, scu_unit_idx, __func__); scu_unit_idx 1446 src/dps8/dps8_scu.c cpu_unit_udx, scu_unit_idx); scu_unit_idx 1452 src/dps8/dps8_scu.c cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true; scu_unit_idx 1453 src/dps8/dps8_scu.c sim_debug (DBG_DEBUG, & scu_dev, "interrupt set for CPU %d SCU %d\r\n", cpu_unit_udx, scu_unit_idx); scu_unit_idx 1455 src/dps8/dps8_scu.c "XIP set for SCU %d\r\n", scu_unit_idx); scu_unit_idx 1463 src/dps8/dps8_scu.c if (! scu [scu_unit_idx].cells [inum]) scu_unit_idx 1467 src/dps8/dps8_scu.c "scu %u trying to deliver %d\r\n", scu_unit_idx, inum); scu_unit_idx 1474 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [pima] == 0) scu_unit_idx 1476 src/dps8/dps8_scu.c uint mask = scu [scu_unit_idx].exec_intr_mask [pima]; scu_unit_idx 1477 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; scu_unit_idx 1482 src/dps8/dps8_scu.c if (scu [scu_unit_idx].ports [port].type != ADEV_CPU) scu_unit_idx 1487 src/dps8/dps8_scu.c if (scu[scu_unit_idx].ports[port].is_exp) scu_unit_idx 1489 src/dps8/dps8_scu.c sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval; scu_unit_idx 1496 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use) scu_unit_idx 1498 src/dps8/dps8_scu.c sim_warn ("bad scu_unit_idx %u\r\n", scu_unit_idx); scu_unit_idx 1501 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; scu_unit_idx 1520 src/dps8/dps8_scu.c cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true; scu_unit_idx 1522 src/dps8/dps8_scu.c HDBGIntrSet (inum, cpu_unit_udx, scu_unit_idx, __func__); scu_unit_idx 1533 src/dps8/dps8_scu.c cpu_unit_udx, scu_unit_idx); scu_unit_idx 1539 src/dps8/dps8_scu.c cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true; scu_unit_idx 1540 src/dps8/dps8_scu.c sim_debug (DBG_DEBUG, & scu_dev, "interrupt set for CPU %d SCU %d\r\n", cpu_unit_udx, scu_unit_idx); scu_unit_idx 1542 src/dps8/dps8_scu.c "XIP set for SCU %d\r\n", scu_unit_idx); scu_unit_idx 1550 src/dps8/dps8_scu.c t_stat scu_smic (cpu_state_t * cpup, uint scu_unit_idx, uint UNUSED cpu_unit_udx, scu_unit_idx 1563 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i + 16] = 1; scu_unit_idx 1568 src/dps8/dps8_scu.c scu_unit_idx, pcells (scu_unit_idx, pcellb)); scu_unit_idx 1575 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i] = 1; scu_unit_idx 1580 src/dps8/dps8_scu.c scu_unit_idx, pcells (scu_unit_idx, pcellb)); scu_unit_idx 1587 src/dps8/dps8_scu.c scu_unit_idx 1592 src/dps8/dps8_scu.c scu_unit_idx 1598 src/dps8/dps8_scu.c scu_unit_idx 1604 src/dps8/dps8_scu.c scu_unit_idx 1607 src/dps8/dps8_scu.c dump_intr_regs ("smic", scu_unit_idx); scu_unit_idx 1608 src/dps8/dps8_scu.c deliver_interrupts (cpup, scu_unit_idx); scu_unit_idx 1644 src/dps8/dps8_scu.c t_stat scu_sscr (cpu_state_t * cpup, uint scu_unit_idx, UNUSED uint cpu_unit_udx, scu_unit_idx 1648 src/dps8/dps8_scu.c sim_debug (DBG_DEBUG, & scu_dev, "sscr SCU unit %o\r\n", scu_unit_idx); scu_unit_idx 1652 src/dps8/dps8_scu.c if (scu_unit_idx >= scu_dev.numunits) scu_unit_idx 1656 src/dps8/dps8_scu.c __func__, scu_unit_idx); scu_unit_idx 1667 src/dps8/dps8_scu.c if (config_switches [scu_unit_idx].mode != MODE_PROGRAM) scu_unit_idx 1686 src/dps8/dps8_scu.c scu [scu_unit_idx].id = (word4) getbits36_4 (regq, 50 - 36); scu_unit_idx 1687 src/dps8/dps8_scu.c scu [scu_unit_idx].mode_reg = getbits36_18 (regq, 54 - 36); scu_unit_idx 1699 src/dps8/dps8_scu.c scu_unit_idx, rega, regq); scu_unit_idx 1703 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 1712 src/dps8/dps8_scu.c scu_unit_idx, maskab); scu_unit_idx 1719 src/dps8/dps8_scu.c scu_unit_idx, maskab); scu_unit_idx 1733 src/dps8/dps8_scu.c scu_unit_idx, 'a' + maskab, up->mask_enable[maskab], scu_unit_idx 1787 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [p] == 0) scu_unit_idx 1790 src/dps8/dps8_scu.c if (scu [scu_unit_idx ].mask_assignment [p] == port_num) scu_unit_idx 1820 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num] = 0; scu_unit_idx 1821 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num] |= scu_unit_idx 1823 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num] |= scu_unit_idx 1829 src/dps8/dps8_scu.c scu_unit_idx 1837 src/dps8/dps8_scu.c scu_unit_idx, port_num, mask_num, scu_unit_idx 1838 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num]); scu_unit_idx 1839 src/dps8/dps8_scu.c dump_intr_regs ("sscr set mask", scu_unit_idx); scu_unit_idx 1840 src/dps8/dps8_scu.c scu [scu_unit_idx].mask_enable [mask_num] = 1; scu_unit_idx 1844 src/dps8/dps8_scu.c scu_unit_idx, 'a' + mask_num, scu_unit_idx 1845 src/dps8/dps8_scu.c scu[scu_unit_idx].exec_intr_mask[mask_num]); scu_unit_idx 1847 src/dps8/dps8_scu.c deliver_interrupts (cpup, scu_unit_idx); scu_unit_idx 1861 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i] = scu_unit_idx 1863 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i + 16] = scu_unit_idx 1869 src/dps8/dps8_scu.c scu_unit_idx, pcells (scu_unit_idx, pcellb)); scu_unit_idx 1872 src/dps8/dps8_scu.c scu_unit_idx, pcells (scu_unit_idx, pcellb)); scu_unit_idx 1873 src/dps8/dps8_scu.c dump_intr_regs ("sscr set interrupt cells", scu_unit_idx); scu_unit_idx 1874 src/dps8/dps8_scu.c deliver_interrupts (NULL, scu_unit_idx); scu_unit_idx 1891 src/dps8/dps8_scu.c scu [scu_unit_idx].user_correction = scu_unit_idx 1892 src/dps8/dps8_scu.c (int64) (new_clk - set_SCU_clock (cpup, scu_unit_idx)); scu_unit_idx 1917 src/dps8/dps8_scu.c t_stat scu_rscr (cpu_state_t * cpup, uint scu_unit_idx, uint cpu_unit_udx, word18 addr, scu_unit_idx 1922 src/dps8/dps8_scu.c if (scu_unit_idx >= scu_dev.numunits) scu_unit_idx 1925 src/dps8/dps8_scu.c __func__, scu_unit_idx); scu_unit_idx 1959 src/dps8/dps8_scu.c putbits36_4 (regq, 50 - 36, scu [scu_unit_idx].id); scu_unit_idx 1960 src/dps8/dps8_scu.c putbits36_18 (regq, 54 - 36, scu [scu_unit_idx].mode_reg); scu_unit_idx 1999 src/dps8/dps8_scu.c sim_debug (DBG_DEBUG, & scu_dev, "rscr 1 %d\r\n", scu_unit_idx); scu_unit_idx 2003 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 2023 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && scu_unit_idx 2024 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == scu_unit_idx 2040 src/dps8/dps8_scu.c __func__, scu_unit_idx, cpu_unit_udx); scu_unit_idx 2053 src/dps8/dps8_scu.c putbits36_1 (& a, 21, (word1) config_switches[scu_unit_idx].mode); scu_unit_idx 2085 src/dps8/dps8_scu.c scu_unit_idx, * rega, * regq); scu_unit_idx 2095 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 2126 src/dps8/dps8_scu.c scu_unit_idx, port_num, up -> mask_assignment [0], scu_unit_idx 2137 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 2157 src/dps8/dps8_scu.c uint64 clk = set_SCU_clock (cpup, scu_unit_idx); scu_unit_idx 2233 src/dps8/dps8_scu.c int scu_cioc (uint cpu_unit_udx, uint scu_unit_idx, uint scu_port_num, scu_unit_idx 2244 src/dps8/dps8_scu.c cpu_unit_udx, scu_unit_idx, scu_port_num, scu_unit_idx 2250 src/dps8/dps8_scu.c struct ports * portp = & scu [scu_unit_idx].ports [scu_port_num]; scu_unit_idx 2253 src/dps8/dps8_scu.c if (! scu [scu_unit_idx].port_enable [scu_port_num]) scu_unit_idx 2259 src/dps8/dps8_scu.c scu_unit_idx, scu_port_num); scu_unit_idx 2304 src/dps8/dps8_scu.c iom_interrupt (scu_unit_idx, (uint) iom_unit_idx); scu_unit_idx 2313 src/dps8/dps8_scu.c iom_interrupt (scu_unit_idx, (uint) iom_unit_idx); scu_unit_idx 2326 src/dps8/dps8_scu.c iom_dev.units[iom_unit_idx].u3 = (int32) scu_unit_idx; scu_unit_idx 2350 src/dps8/dps8_scu.c scu_to_cpu[scu_unit_idx][scu_port_num][sn].in_use) scu_unit_idx 2356 src/dps8/dps8_scu.c scu_to_cpu[scu_unit_idx][scu_port_num][sn].cpu_unit_idx; scu_unit_idx 2363 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].in_use) scu_unit_idx 2370 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].cpu_unit_idx; scu_unit_idx 2379 src/dps8/dps8_scu.c scu_unit_idx 2384 src/dps8/dps8_scu.c scu_unit_idx 2421 src/dps8/dps8_scu.c int scu_set_interrupt (uint scu_unit_idx, uint inum) scu_unit_idx 2438 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [inum] = 1; scu_unit_idx 2439 src/dps8/dps8_scu.c dump_intr_regs ("scu_set_interrupt", scu_unit_idx); scu_unit_idx 2440 src/dps8/dps8_scu.c deliver_interrupts (NULL, scu_unit_idx); scu_unit_idx 2453 src/dps8/dps8_scu.c uint scu_get_highest_intr (uint scu_unit_idx) scu_unit_idx 2466 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [pima] == 0) scu_unit_idx 2468 src/dps8/dps8_scu.c uint mask = scu [scu_unit_idx].exec_intr_mask [pima]; scu_unit_idx 2469 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; scu_unit_idx 2472 src/dps8/dps8_scu.c if (scu[scu_unit_idx].ports[port].type != ADEV_CPU || scu_unit_idx 2473 src/dps8/dps8_scu.c cpus[current_running_cpu_idx].scu_port[scu_unit_idx] != port) scu_unit_idx 2475 src/dps8/dps8_scu.c if (scu [scu_unit_idx].cells [inum] && scu_unit_idx 2480 src/dps8/dps8_scu.c inum, pima, mask, port, scu [scu_unit_idx].cells [inum]); scu_unit_idx 2481 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [inum] = false; scu_unit_idx 2482 src/dps8/dps8_scu.c dump_intr_regs ("scu_get_highest_intr", scu_unit_idx); scu_unit_idx 2483 src/dps8/dps8_scu.c deliver_interrupts (NULL, scu_unit_idx); scu_unit_idx 2501 src/dps8/dps8_scu.c uint scu_unit_idx = (uint) (uptr - scu_unit); scu_unit_idx 2502 src/dps8/dps8_scu.c scu_unit_reset ((int) scu_unit_idx); scu_unit_idx 2536 src/dps8/dps8_scu.c t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_udx, word36 * rega, scu_unit_idx 2542 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 2557 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && scu_unit_idx 2558 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == scu_unit_idx 2575 src/dps8/dps8_scu.c __func__, scu_unit_idx, cpu_unit_udx); scu_unit_idx 2579 src/dps8/dps8_scu.c __func__, scu_unit_idx, cpu_unit_udx); scu_unit_idx 2631 src/dps8/dps8_scu.c dump_intr_regs ("rmcm", scu_unit_idx); scu_unit_idx 2635 src/dps8/dps8_scu.c t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_udx, word36 rega, word36 regq) scu_unit_idx 2642 src/dps8/dps8_scu.c scu_unit_idx, cpu_unit_udx, rega, regq); scu_unit_idx 2644 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 2655 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && scu_unit_idx 2656 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == scu_unit_idx 2672 src/dps8/dps8_scu.c __func__, scu_unit_idx, cpu_unit_udx); scu_unit_idx 2704 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [0] = (uint) getbits36_1 (rega, 32); scu_unit_idx 2705 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [1] = (uint) getbits36_1 (rega, 33); scu_unit_idx 2706 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [2] = (uint) getbits36_1 (rega, 34); scu_unit_idx 2707 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [3] = (uint) getbits36_1 (rega, 35); scu_unit_idx 2708 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [4] = (uint) getbits36_1 (regq, 32); scu_unit_idx 2709 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [5] = (uint) getbits36_1 (regq, 33); scu_unit_idx 2710 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [6] = (uint) getbits36_1 (regq, 34); scu_unit_idx 2711 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [7] = (uint) getbits36_1 (regq, 35); scu_unit_idx 2713 src/dps8/dps8_scu.c dump_intr_regs ("smcm", scu_unit_idx); scu_unit_idx 2714 src/dps8/dps8_scu.c deliver_interrupts (NULL, scu_unit_idx); scu_unit_idx 92 src/dps8/dps8_scu.h int scu_set_interrupt(uint scu_unit_idx, uint inum); scu_unit_idx 94 src/dps8/dps8_scu.h t_stat scu_sscr (cpu_state_t * cpup, uint scu_unit_idx, UNUSED uint cpu_unit_idx, uint cpu_port_num, word18 addr, scu_unit_idx 96 src/dps8/dps8_scu.h t_stat scu_smic (cpu_state_t * cpup, uint scu_unit_idx, uint UNUSED cpu_unit_idx, uint cpu_port_num, word36 rega); scu_unit_idx 97 src/dps8/dps8_scu.h t_stat scu_rscr (cpu_state_t * cpup, uint scu_unit_idx, uint cpu_unit_idx, word18 addr, word36 * rega, word36 * regq); scu_unit_idx 98 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 99 src/dps8/dps8_scu.h t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_idx, word36 * rega, word36 * regq); scu_unit_idx 100 src/dps8/dps8_scu.h t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_idx, word36 rega, word36 regq); scu_unit_idx 101 src/dps8/dps8_scu.h void scu_clear_interrupt (uint scu_unit_idx, uint inum); scu_unit_idx 102 src/dps8/dps8_scu.h uint scu_get_highest_intr (uint scu_unit_idx); scu_unit_idx 106 src/dps8/dps8_scu.h void scu_unit_reset (int scu_unit_idx);