scu 285 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].type = ADEV_NONE; scu 286 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_idx = 0; scu 288 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].is_exp = false; scu 311 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].type = ADEV_IOM; scu 312 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_idx = (int) iom_unit_idx; scu 313 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_port[0] = (int) iom_port_num; scu 315 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].is_exp = 0; scu 370 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].type = ADEV_NONE; scu 371 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_idx = 0; scu 373 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].is_exp = false; scu 374 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_port[scu_subport_num] = 0; scu 397 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].type = ADEV_CPU; scu 398 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_idx = (int) cpu_unit_idx; scu 399 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_port[0] = (int) cpu_port_num; scu 401 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].is_exp = is_exp; scu 402 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_port[scu_subport_num] = (int) cpu_port_num; scu 223 src/dps8/dps8_cpu.c scu [0].steady_clock); scu 582 src/dps8/dps8_cpu.c scu [0].steady_clock = (uint) v; scu 558 src/dps8/dps8_scu.c scu_t scu [N_SCU_UNITS_MAX]; scu 649 src/dps8/dps8_scu.c scu_t * scup = scu + scu_unit_idx; scu 941 src/dps8/dps8_scu.c scu [scu_unit_idx].elapsed_days = (uint) v; scu 943 src/dps8/dps8_scu.c scu [scu_unit_idx].steady_clock = (uint) v; scu 945 src/dps8/dps8_scu.c scu [scu_unit_idx].bullet_time = (uint) v; scu 947 src/dps8/dps8_scu.c scu [scu_unit_idx].clock_delta = (int64_t) v; scu 1060 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu 1090 src/dps8/dps8_scu.c scu 1123 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu 1148 src/dps8/dps8_scu.c struct ports * portp = & scu [scu_unit_idx].ports [port_num]; scu 1194 src/dps8/dps8_scu.c if (scu [0].steady_clock) scu 1203 src/dps8/dps8_scu.c if (scu [0].bullet_time) scu 1207 src/dps8/dps8_scu.c uint128 days = construct_128 (0, scu[0].elapsed_days); scu 1216 src/dps8/dps8_scu.c if (scu [0].bullet_time) scu 1219 src/dps8/dps8_scu.c big += scu [0].elapsed_days * 1000000llu * 60llu * 60llu * 24llu; scu 1246 src/dps8/dps8_scu.c Multics_usecs += (uint64) scu [scu_unit_idx].user_correction; scu 1251 src/dps8/dps8_scu.c if (scu [scu_unit_idx].last_time >= Multics_usecs) scu 1254 src/dps8/dps8_scu.c Multics_usecs = scu [scu_unit_idx].last_time + 1; scu 1256 src/dps8/dps8_scu.c scu [scu_unit_idx].last_time = Multics_usecs; scu 1274 src/dps8/dps8_scu.c if (scu [scu_unit_idx].clock_delta) // Apply clock_delta correction. scu 1275 src/dps8/dps8_scu.c now.tv_sec += scu [scu_unit_idx].clock_delta; scu 1303 src/dps8/dps8_scu.c Multics_usecs += (uint64) scu [scu_unit_idx].user_correction; scu 1305 src/dps8/dps8_scu.c if (scu [scu_unit_idx].last_time >= Multics_usecs) scu 1306 src/dps8/dps8_scu.c Multics_usecs = scu [scu_unit_idx].last_time + 1; scu 1307 src/dps8/dps8_scu.c scu [scu_unit_idx].last_time = Multics_usecs; scu 1314 src/dps8/dps8_scu.c return scu [scu_unit_idx].last_time; scu 1322 src/dps8/dps8_scu.c if (scu [scu_unit_idx].cells [i]) scu 1374 src/dps8/dps8_scu.c if (! scu [scu_unit_idx].cells [inum]) scu 1385 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [pima] == 0) scu 1387 src/dps8/dps8_scu.c uint mask = scu [scu_unit_idx].exec_intr_mask [pima]; scu 1388 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; scu 1393 src/dps8/dps8_scu.c if (scu [scu_unit_idx].ports [port].type != ADEV_CPU) scu 1398 src/dps8/dps8_scu.c if (scu[scu_unit_idx].ports[port].is_exp) scu 1400 src/dps8/dps8_scu.c sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval; scu 1463 src/dps8/dps8_scu.c if (! scu [scu_unit_idx].cells [inum]) scu 1474 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [pima] == 0) scu 1476 src/dps8/dps8_scu.c uint mask = scu [scu_unit_idx].exec_intr_mask [pima]; scu 1477 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; scu 1482 src/dps8/dps8_scu.c if (scu [scu_unit_idx].ports [port].type != ADEV_CPU) scu 1487 src/dps8/dps8_scu.c if (scu[scu_unit_idx].ports[port].is_exp) scu 1489 src/dps8/dps8_scu.c sn = (uint) scu[scu_unit_idx].ports[port].xipmaskval; scu 1563 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i + 16] = 1; scu 1575 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i] = 1; scu 1587 src/dps8/dps8_scu.c scu 1598 src/dps8/dps8_scu.c scu 1686 src/dps8/dps8_scu.c scu [scu_unit_idx].id = (word4) getbits36_4 (regq, 50 - 36); scu 1687 src/dps8/dps8_scu.c scu [scu_unit_idx].mode_reg = getbits36_18 (regq, 54 - 36); scu 1703 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu 1787 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [p] == 0) scu 1790 src/dps8/dps8_scu.c if (scu [scu_unit_idx ].mask_assignment [p] == port_num) scu 1820 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num] = 0; scu 1821 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num] |= scu 1823 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num] |= scu 1829 src/dps8/dps8_scu.c scu 1838 src/dps8/dps8_scu.c scu [scu_unit_idx].exec_intr_mask [mask_num]); scu 1840 src/dps8/dps8_scu.c scu [scu_unit_idx].mask_enable [mask_num] = 1; scu 1845 src/dps8/dps8_scu.c scu[scu_unit_idx].exec_intr_mask[mask_num]); scu 1861 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i] = scu 1863 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [i + 16] = scu 1891 src/dps8/dps8_scu.c scu [scu_unit_idx].user_correction = scu 1959 src/dps8/dps8_scu.c putbits36_4 (regq, 50 - 36, scu [scu_unit_idx].id); scu 1960 src/dps8/dps8_scu.c putbits36_18 (regq, 54 - 36, scu [scu_unit_idx].mode_reg); scu 2003 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu 2095 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu 2137 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu 2250 src/dps8/dps8_scu.c struct ports * portp = & scu [scu_unit_idx].ports [scu_port_num]; scu 2253 src/dps8/dps8_scu.c if (! scu [scu_unit_idx].port_enable [scu_port_num]) scu 2438 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [inum] = 1; scu 2466 src/dps8/dps8_scu.c if (scu [scu_unit_idx].mask_enable [pima] == 0) scu 2468 src/dps8/dps8_scu.c uint mask = scu [scu_unit_idx].exec_intr_mask [pima]; scu 2469 src/dps8/dps8_scu.c uint port = scu [scu_unit_idx].mask_assignment [pima]; scu 2472 src/dps8/dps8_scu.c if (scu[scu_unit_idx].ports[port].type != ADEV_CPU || scu 2475 src/dps8/dps8_scu.c if (scu [scu_unit_idx].cells [inum] && scu 2480 src/dps8/dps8_scu.c inum, pima, mask, port, scu [scu_unit_idx].cells [inum]); scu 2481 src/dps8/dps8_scu.c scu [scu_unit_idx].cells [inum] = false; scu 2516 src/dps8/dps8_scu.c scu[u].ports[p].dev_port[s] = -1; scu 2517 src/dps8/dps8_scu.c scu[u].ports[p].subport_enables[s] = false; scu 2518 src/dps8/dps8_scu.c scu[u].ports[p].xipmask[s] = false; scu 2520 src/dps8/dps8_scu.c scu[u].ports[p].xipmaskval = N_SCU_SUBPORTS; scu 2522 src/dps8/dps8_scu.c scu[u].ports[p].type = ADEV_NONE; scu 2523 src/dps8/dps8_scu.c scu[u].ports[p].is_exp = false; scu 2529 src/dps8/dps8_scu.c scu [u].id = 02l; // 0b0010 scu 2530 src/dps8/dps8_scu.c scu [u].mode_reg = 0; // used by T&D scu 2531 src/dps8/dps8_scu.c scu [u].elapsed_days = 0; scu 2542 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu 2644 src/dps8/dps8_scu.c scu_t * up = scu + scu_unit_idx; scu 2704 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [0] = (uint) getbits36_1 (rega, 32); scu 2705 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [1] = (uint) getbits36_1 (rega, 33); scu 2706 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [2] = (uint) getbits36_1 (rega, 34); scu 2707 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [3] = (uint) getbits36_1 (rega, 35); scu 2708 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [4] = (uint) getbits36_1 (regq, 32); scu 2709 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [5] = (uint) getbits36_1 (regq, 33); scu 2710 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [6] = (uint) getbits36_1 (regq, 34); scu 2711 src/dps8/dps8_scu.c scu [scu_unit_idx].port_enable [7] = (uint) getbits36_1 (regq, 35); scu 88 src/dps8/dps8_scu.h extern scu_t scu [N_SCU_UNITS_MAX];