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\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.\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 1355 src/dps8/dps8_cable.c scus_used[p->scu_unit_idx] = true; scu_unit_idx 1452 src/dps8/dps8_cable.c p->scu_unit_idx + 'A'); scu_unit_idx 1516 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 1541 src/dps8/dps8_cable.c u, prt, p->scu_unit_idx, p->scu_port_num, p->scu_subport_num); scu_unit_idx 112 src/dps8/dps8_cable.h uint scu_unit_idx; scu_unit_idx 127 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 1688 src/dps8/dps8_cpu.c for (uint scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++) scu_unit_idx 1690 src/dps8/dps8_cpu.c if (cpu.events.XIP [scu_unit_idx]) scu_unit_idx 1692 src/dps8/dps8_cpu.c fp = scu_get_highest_intr (scu_unit_idx); // CALLED WITH SCU LOCK scu_unit_idx 1703 src/dps8/dps8_cpu.c for (uint scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++) scu_unit_idx 1705 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 1044 src/dps8/dps8_scu.c static void dump_intr_regs (char * ctx, uint scu_unit_idx) scu_unit_idx 1046 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 1075 src/dps8/dps8_scu.c scu_unit_idx 1105 src/dps8/dps8_scu.c void scu_unit_reset (int scu_unit_idx) scu_unit_idx 1107 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 1108 src/dps8/dps8_scu.c struct config_switches * sw = config_switches + scu_unit_idx; scu_unit_idx 1132 src/dps8/dps8_scu.c struct ports * portp = & scu [scu_unit_idx].ports [port_num]; scu_unit_idx 1155 src/dps8/dps8_scu.c for (int scu_unit_idx = 0; scu_unit_idx < N_SCU_UNITS_MAX; scu_unit_idx ++) scu_unit_idx 1156 src/dps8/dps8_scu.c scu_unit_reset (scu_unit_idx); scu_unit_idx 1167 src/dps8/dps8_scu.c static uint64 set_SCU_clock (uint scu_unit_idx) scu_unit_idx 1226 src/dps8/dps8_scu.c Multics_usecs += (uint64) scu [scu_unit_idx].user_correction; scu_unit_idx 1231 src/dps8/dps8_scu.c if (scu [scu_unit_idx].last_time >= Multics_usecs) scu_unit_idx 1234 src/dps8/dps8_scu.c Multics_usecs = scu [scu_unit_idx].last_time + 1; scu_unit_idx 1236 src/dps8/dps8_scu.c scu [scu_unit_idx].last_time = Multics_usecs; scu_unit_idx 1330 src/dps8/dps8_scu.c Multics_usecs += (uint64) scu [scu_unit_idx].user_correction; scu_unit_idx 1332 src/dps8/dps8_scu.c if (scu [scu_unit_idx].last_time >= Multics_usecs) scu_unit_idx 1333 src/dps8/dps8_scu.c Multics_usecs = scu [scu_unit_idx].last_time + 1; scu_unit_idx 1334 src/dps8/dps8_scu.c scu [scu_unit_idx].last_time = Multics_usecs; scu_unit_idx 1341 src/dps8/dps8_scu.c return scu [scu_unit_idx].last_time; scu_unit_idx 1346 src/dps8/dps8_scu.c static char * pcells (uint scu_unit_idx, char * buf) scu_unit_idx 1350 src/dps8/dps8_scu.c if (scu [scu_unit_idx].cells [i]) scu_unit_idx 1373 src/dps8/dps8_scu.c static void deliver_interrupts (uint scu_unit_idx) scu_unit_idx 1375 src/dps8/dps8_scu.c sim_debug (DBG_DEBUG, & scu_dev, "deliver_interrupts %o\n", scu_unit_idx); scu_unit_idx 1378 src/dps8/dps8_scu.c cpus[cpun].events.XIP[scu_unit_idx] = false; scu_unit_idx 1394 src/dps8/dps8_scu.c if (! scu [scu_unit_idx].cells [inum]) scu_unit_idx 1398 src/dps8/dps8_scu.c "scu %u trying to deliver %d\n", scu_unit_idx, inum); scu_unit_idx 1405 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [pima] == 0) scu_unit_idx 1407 src/dps8/dps8_scu.c uint mask = scu [scu_unit_idx].exec_intr_mask [pima]; scu_unit_idx 1408 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; scu_unit_idx 1413 src/dps8/dps8_scu.c if (scu [scu_unit_idx].ports [port].type != ADEV_CPU) scu_unit_idx 1418 src/dps8/dps8_scu.c if (scu[scu_unit_idx].ports[port].is_exp) scu_unit_idx 1420 src/dps8/dps8_scu.c sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval; scu_unit_idx 1427 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use) scu_unit_idx 1429 src/dps8/dps8_scu.c sim_warn ("bad scu_unit_idx %u\n", scu_unit_idx); scu_unit_idx 1432 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; scu_unit_idx 1434 src/dps8/dps8_scu.c cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true; scu_unit_idx 1436 src/dps8/dps8_scu.c HDBGIntrSet (inum, cpu_unit_udx, scu_unit_idx, __func__); scu_unit_idx 1444 src/dps8/dps8_scu.c cpu_unit_udx, scu_unit_idx); scu_unit_idx 1450 src/dps8/dps8_scu.c cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true; scu_unit_idx 1451 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 1453 src/dps8/dps8_scu.c "XIP set for SCU %d\n", scu_unit_idx); scu_unit_idx 1461 src/dps8/dps8_scu.c if (! scu [scu_unit_idx].cells [inum]) scu_unit_idx 1465 src/dps8/dps8_scu.c "scu %u trying to deliver %d\n", scu_unit_idx, inum); scu_unit_idx 1472 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [pima] == 0) scu_unit_idx 1474 src/dps8/dps8_scu.c uint mask = scu [scu_unit_idx].exec_intr_mask [pima]; scu_unit_idx 1475 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; scu_unit_idx 1480 src/dps8/dps8_scu.c if (scu [scu_unit_idx].ports [port].type != ADEV_CPU) scu_unit_idx 1485 src/dps8/dps8_scu.c if (scu[scu_unit_idx].ports[port].is_exp) scu_unit_idx 1487 src/dps8/dps8_scu.c sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval; scu_unit_idx 1494 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][port][sn].in_use) scu_unit_idx 1496 src/dps8/dps8_scu.c sim_warn ("bad scu_unit_idx %u\n", scu_unit_idx); scu_unit_idx 1499 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; scu_unit_idx 1501 src/dps8/dps8_scu.c cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true; scu_unit_idx 1503 src/dps8/dps8_scu.c HDBGIntrSet (inum, cpu_unit_udx, scu_unit_idx, __func__); scu_unit_idx 1511 src/dps8/dps8_scu.c cpu_unit_udx, scu_unit_idx); scu_unit_idx 1517 src/dps8/dps8_scu.c cpus[cpu_unit_udx].events.XIP[scu_unit_idx] = true; scu_unit_idx 1518 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 1520 src/dps8/dps8_scu.c "XIP set for SCU %d\n", scu_unit_idx); scu_unit_idx 1528 src/dps8/dps8_scu.c t_stat scu_smic (uint scu_unit_idx, uint UNUSED cpu_unit_udx, scu_unit_idx 1541 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i + 16] = 1; scu_unit_idx 1546 src/dps8/dps8_scu.c scu_unit_idx, pcells (scu_unit_idx, pcellb)); scu_unit_idx 1553 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i] = 1; scu_unit_idx 1558 src/dps8/dps8_scu.c scu_unit_idx, pcells (scu_unit_idx, pcellb)); scu_unit_idx 1565 src/dps8/dps8_scu.c scu_unit_idx 1570 src/dps8/dps8_scu.c scu_unit_idx 1576 src/dps8/dps8_scu.c scu_unit_idx 1582 src/dps8/dps8_scu.c scu_unit_idx 1585 src/dps8/dps8_scu.c dump_intr_regs ("smic", scu_unit_idx); scu_unit_idx 1586 src/dps8/dps8_scu.c deliver_interrupts (scu_unit_idx); scu_unit_idx 1622 src/dps8/dps8_scu.c t_stat scu_sscr (uint scu_unit_idx, UNUSED uint cpu_unit_udx, scu_unit_idx 1626 src/dps8/dps8_scu.c sim_debug (DBG_DEBUG, & scu_dev, "sscr SCU unit %o\n", scu_unit_idx); scu_unit_idx 1630 src/dps8/dps8_scu.c if (scu_unit_idx >= scu_dev.numunits) scu_unit_idx 1634 src/dps8/dps8_scu.c __func__, scu_unit_idx); scu_unit_idx 1645 src/dps8/dps8_scu.c if (config_switches [scu_unit_idx].mode != MODE_PROGRAM) scu_unit_idx 1664 src/dps8/dps8_scu.c scu [scu_unit_idx].id = (word4) getbits36_4 (regq, 50 - 36); scu_unit_idx 1665 src/dps8/dps8_scu.c scu [scu_unit_idx].mode_reg = getbits36_18 (regq, 54 - 36); scu_unit_idx 1677 src/dps8/dps8_scu.c scu_unit_idx, rega, regq); scu_unit_idx 1681 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 1690 src/dps8/dps8_scu.c scu_unit_idx, maskab); scu_unit_idx 1697 src/dps8/dps8_scu.c scu_unit_idx, maskab); scu_unit_idx 1711 src/dps8/dps8_scu.c scu_unit_idx, 'a' + maskab, up->mask_enable[maskab], scu_unit_idx 1765 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [p] == 0) scu_unit_idx 1768 src/dps8/dps8_scu.c if (scu [scu_unit_idx ].mask_assignment [p] == port_num) scu_unit_idx 1798 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num] = 0; scu_unit_idx 1799 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num] |= scu_unit_idx 1801 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num] |= scu_unit_idx 1807 src/dps8/dps8_scu.c scu_unit_idx 1815 src/dps8/dps8_scu.c scu_unit_idx, port_num, mask_num, scu_unit_idx 1816 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num]); scu_unit_idx 1817 src/dps8/dps8_scu.c dump_intr_regs ("sscr set mask", scu_unit_idx); scu_unit_idx 1818 src/dps8/dps8_scu.c scu [scu_unit_idx].mask_enable [mask_num] = 1; scu_unit_idx 1822 src/dps8/dps8_scu.c scu_unit_idx, 'a' + mask_num, scu_unit_idx 1823 src/dps8/dps8_scu.c scu[scu_unit_idx].exec_intr_mask[mask_num]); scu_unit_idx 1825 src/dps8/dps8_scu.c deliver_interrupts (scu_unit_idx); scu_unit_idx 1839 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i] = scu_unit_idx 1841 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i + 16] = scu_unit_idx 1847 src/dps8/dps8_scu.c scu_unit_idx, pcells (scu_unit_idx, pcellb)); scu_unit_idx 1850 src/dps8/dps8_scu.c scu_unit_idx, pcells (scu_unit_idx, pcellb)); scu_unit_idx 1851 src/dps8/dps8_scu.c dump_intr_regs ("sscr set interrupt cells", scu_unit_idx); scu_unit_idx 1852 src/dps8/dps8_scu.c deliver_interrupts (scu_unit_idx); scu_unit_idx 1869 src/dps8/dps8_scu.c scu [scu_unit_idx].user_correction = scu_unit_idx 1870 src/dps8/dps8_scu.c (int64) (new_clk - set_SCU_clock (scu_unit_idx)); scu_unit_idx 1896 src/dps8/dps8_scu.c t_stat scu_rscr (uint scu_unit_idx, uint cpu_unit_udx, word18 addr, scu_unit_idx 1901 src/dps8/dps8_scu.c if (scu_unit_idx >= scu_dev.numunits) scu_unit_idx 1904 src/dps8/dps8_scu.c __func__, scu_unit_idx); scu_unit_idx 1938 src/dps8/dps8_scu.c putbits36_4 (regq, 50 - 36, scu [scu_unit_idx].id); scu_unit_idx 1939 src/dps8/dps8_scu.c putbits36_18 (regq, 54 - 36, scu [scu_unit_idx].mode_reg); scu_unit_idx 1978 src/dps8/dps8_scu.c sim_debug (DBG_DEBUG, & scu_dev, "rscr 1 %d\n", scu_unit_idx); scu_unit_idx 1982 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 2002 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && scu_unit_idx 2003 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == scu_unit_idx 2019 src/dps8/dps8_scu.c __func__, scu_unit_idx, cpu_unit_udx); scu_unit_idx 2032 src/dps8/dps8_scu.c putbits36_1 (& a, 21, (word1) config_switches[scu_unit_idx].mode); scu_unit_idx 2064 src/dps8/dps8_scu.c scu_unit_idx, * rega, * regq); scu_unit_idx 2074 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 2105 src/dps8/dps8_scu.c scu_unit_idx, port_num, up -> mask_assignment [0], scu_unit_idx 2116 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 2136 src/dps8/dps8_scu.c uint64 clk = set_SCU_clock (scu_unit_idx); scu_unit_idx 2212 src/dps8/dps8_scu.c int scu_cioc (uint cpu_unit_udx, uint scu_unit_idx, uint scu_port_num, scu_unit_idx 2221 src/dps8/dps8_scu.c cpu_unit_udx, scu_unit_idx, scu_port_num, scu_unit_idx 2227 src/dps8/dps8_scu.c struct ports * portp = & scu [scu_unit_idx].ports [scu_port_num]; scu_unit_idx 2230 src/dps8/dps8_scu.c if (! scu [scu_unit_idx].port_enable [scu_port_num]) scu_unit_idx 2236 src/dps8/dps8_scu.c scu_unit_idx, scu_port_num); scu_unit_idx 2281 src/dps8/dps8_scu.c iom_interrupt (scu_unit_idx, (uint) iom_unit_idx); scu_unit_idx 2290 src/dps8/dps8_scu.c iom_interrupt (scu_unit_idx, (uint) iom_unit_idx); scu_unit_idx 2303 src/dps8/dps8_scu.c iom_dev.units[iom_unit_idx].u3 = (int32) scu_unit_idx; scu_unit_idx 2328 src/dps8/dps8_scu.c scu_to_cpu[scu_unit_idx][scu_port_num][sn].in_use) scu_unit_idx 2334 src/dps8/dps8_scu.c scu_to_cpu[scu_unit_idx][scu_port_num][sn].cpu_unit_idx; scu_unit_idx 2341 src/dps8/dps8_scu.c if (! cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].in_use) scu_unit_idx 2348 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].cpu_unit_idx; scu_unit_idx 2357 src/dps8/dps8_scu.c scu_unit_idx 2362 src/dps8/dps8_scu.c scu_unit_idx 2399 src/dps8/dps8_scu.c int scu_set_interrupt (uint scu_unit_idx, uint inum) scu_unit_idx 2413 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [inum] = 1; scu_unit_idx 2414 src/dps8/dps8_scu.c dump_intr_regs ("scu_set_interrupt", scu_unit_idx); scu_unit_idx 2415 src/dps8/dps8_scu.c deliver_interrupts (scu_unit_idx); scu_unit_idx 2428 src/dps8/dps8_scu.c uint scu_get_highest_intr (uint scu_unit_idx) scu_unit_idx 2438 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [pima] == 0) scu_unit_idx 2440 src/dps8/dps8_scu.c uint mask = scu [scu_unit_idx].exec_intr_mask [pima]; scu_unit_idx 2441 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; scu_unit_idx 2444 src/dps8/dps8_scu.c if (scu[scu_unit_idx].ports[port].type != ADEV_CPU || scu_unit_idx 2445 src/dps8/dps8_scu.c cpus[current_running_cpu_idx].scu_port[scu_unit_idx] != port) scu_unit_idx 2447 src/dps8/dps8_scu.c if (scu [scu_unit_idx].cells [inum] && scu_unit_idx 2450 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 2451 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [inum] = false; scu_unit_idx 2452 src/dps8/dps8_scu.c dump_intr_regs ("scu_get_highest_intr", scu_unit_idx); scu_unit_idx 2453 src/dps8/dps8_scu.c deliver_interrupts (scu_unit_idx); scu_unit_idx 2471 src/dps8/dps8_scu.c uint scu_unit_idx = (uint) (uptr - scu_unit); scu_unit_idx 2472 src/dps8/dps8_scu.c scu_unit_reset ((int) scu_unit_idx); scu_unit_idx 2506 src/dps8/dps8_scu.c t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_udx, word36 * rega, scu_unit_idx 2509 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 2524 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && scu_unit_idx 2525 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == scu_unit_idx 2542 src/dps8/dps8_scu.c __func__, scu_unit_idx, cpu_unit_udx); scu_unit_idx 2546 src/dps8/dps8_scu.c __func__, scu_unit_idx, cpu_unit_udx); scu_unit_idx 2598 src/dps8/dps8_scu.c dump_intr_regs ("rmcm", scu_unit_idx); scu_unit_idx 2602 src/dps8/dps8_scu.c t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_udx, word36 rega, word36 regq) scu_unit_idx 2606 src/dps8/dps8_scu.c scu_unit_idx, cpu_unit_udx, rega, regq); scu_unit_idx 2608 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu_unit_idx 2619 src/dps8/dps8_scu.c if (cables->scu_to_cpu[scu_unit_idx][pn][sn].in_use && scu_unit_idx 2620 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == scu_unit_idx 2636 src/dps8/dps8_scu.c __func__, scu_unit_idx, cpu_unit_udx); scu_unit_idx 2668 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [0] = (uint) getbits36_1 (rega, 32); scu_unit_idx 2669 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [1] = (uint) getbits36_1 (rega, 33); scu_unit_idx 2670 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [2] = (uint) getbits36_1 (rega, 34); scu_unit_idx 2671 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [3] = (uint) getbits36_1 (rega, 35); scu_unit_idx 2672 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [4] = (uint) getbits36_1 (regq, 32); scu_unit_idx 2673 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [5] = (uint) getbits36_1 (regq, 33); scu_unit_idx 2674 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [6] = (uint) getbits36_1 (regq, 34); scu_unit_idx 2675 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [7] = (uint) getbits36_1 (regq, 35); scu_unit_idx 2677 src/dps8/dps8_scu.c dump_intr_regs ("smcm", scu_unit_idx); scu_unit_idx 2678 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);