cpu_unit_idx 323 src/dps8/dps8_cable.c static t_stat back_cable_cpu_to_scu (int uncable, uint cpu_unit_idx, uint cpu_port_num, cpu_unit_idx 326 src/dps8/dps8_cable.c struct cpu_to_scu_s * p = & cables->cpu_to_scu[cpu_unit_idx][cpu_port_num]; cpu_unit_idx 335 src/dps8/dps8_cable.c sim_printf ("cable SCU: CPU%u port %u in use.\n", cpu_unit_idx, cpu_port_num); cpu_unit_idx 349 src/dps8/dps8_cable.c uint scu_subport_num, uint cpu_unit_idx, uint cpu_port_num, bool is_exp) cpu_unit_idx 362 src/dps8/dps8_cable.c t_stat rc = back_cable_cpu_to_scu (uncable, cpu_unit_idx, cpu_port_num, cpu_unit_idx 386 src/dps8/dps8_cable.c t_stat rc = back_cable_cpu_to_scu (uncable, cpu_unit_idx, cpu_port_num, cpu_unit_idx 394 src/dps8/dps8_cable.c p->cpu_unit_idx = cpu_unit_idx; cpu_unit_idx 398 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_idx = (int) cpu_unit_idx; cpu_unit_idx 404 src/dps8/dps8_cable.c cpus[cpu_unit_idx].scu_port[scu_unit_idx] = scu_port_num; cpu_unit_idx 1547 src/dps8/dps8_cable.c sim_printf (" %4u %4u %4u %4u\n", u, prt, p->cpu_unit_idx, p->cpu_port_num); cpu_unit_idx 118 src/dps8/dps8_cable.h uint cpu_unit_idx; cpu_unit_idx 279 src/dps8/dps8_cable.h #define get_scu_idx(cpu_unit_idx, cpu_port_num) \ cpu_unit_idx 280 src/dps8/dps8_cable.h (cables->cpu_to_scu[cpu_unit_idx][cpu_port_num].scu_unit_idx) cpu_unit_idx 284 src/dps8/dps8_cable.h #define get_scu_in_use(cpu_unit_idx, cpu_port_num) \ cpu_unit_idx 285 src/dps8/dps8_cable.h (cables->cpu_to_scu[cpu_unit_idx][cpu_port_num].in_use) cpu_unit_idx 130 src/dps8/dps8_cpu.c long cpu_unit_idx = UNIT_IDX (uptr); cpu_unit_idx 131 src/dps8/dps8_cpu.c if (cpu_unit_idx < 0 || cpu_unit_idx >= N_CPU_UNITS_MAX) cpu_unit_idx 133 src/dps8/dps8_cpu.c sim_warn ("error: Invalid unit number %ld\n", (long) cpu_unit_idx); cpu_unit_idx 159 src/dps8/dps8_cpu.c sim_msg ("CPU unit number %ld\n", (long) cpu_unit_idx); cpu_unit_idx 162 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.FLT_BASE); cpu_unit_idx 164 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.cpu_num); cpu_unit_idx 166 src/dps8/dps8_cpu.c (unsigned long long)cpus[cpu_unit_idx].switches.data_switches); cpu_unit_idx 168 src/dps8/dps8_cpu.c PBI_64((unsigned long long)cpus[cpu_unit_idx].switches.data_switches)); cpu_unit_idx 172 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.addr_switches); cpu_unit_idx 174 src/dps8/dps8_cpu.c PBI_32(cpus[cpu_unit_idx].switches.addr_switches)); cpu_unit_idx 177 src/dps8/dps8_cpu.c for (int i = 0; i < (cpus[cpu_unit_idx].tweaks.l68_mode ? N_L68_CPU_PORTS : N_DPS8M_CPU_PORTS); i ++) cpu_unit_idx 180 src/dps8/dps8_cpu.c 'A' + i, cpus[cpu_unit_idx].switches.enable [i]); cpu_unit_idx 182 src/dps8/dps8_cpu.c 'A' + i, cpus[cpu_unit_idx].switches.init_enable [i]); cpu_unit_idx 184 src/dps8/dps8_cpu.c 'A' + i, cpus[cpu_unit_idx].switches.assignment [i]); cpu_unit_idx 186 src/dps8/dps8_cpu.c 'A' + i, cpus[cpu_unit_idx].switches.interlace [i]); cpu_unit_idx 188 src/dps8/dps8_cpu.c 'A' + i, cpus[cpu_unit_idx].switches.store_size [i]); cpu_unit_idx 191 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.procMode == \ cpu_unit_idx 192 src/dps8/dps8_cpu.c procModeMultics ? "Multics" : cpus[cpu_unit_idx].switches.procMode == procModeGCOS ? "GCOS" : "???", cpu_unit_idx 193 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.procMode); cpu_unit_idx 195 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable_cache ? "Enabled" : "Disabled"); cpu_unit_idx 197 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.sdwam_enable ? "Enabled" : "Disabled"); cpu_unit_idx 199 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.ptwam_enable ? "Enabled" : "Disabled"); cpu_unit_idx 202 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.proc_speed); cpu_unit_idx 204 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.dis_enable); cpu_unit_idx 208 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.halt_on_unimp); cpu_unit_idx 210 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.enable_wam); cpu_unit_idx 212 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.report_faults); cpu_unit_idx 214 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.tro_enable); cpu_unit_idx 218 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.drl_fatal); cpu_unit_idx 220 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.useMap); cpu_unit_idx 222 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.prom_installed); cpu_unit_idx 224 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.hex_mode_installed); cpu_unit_idx 226 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.cache_installed); cpu_unit_idx 228 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.clock_slave_installed); cpu_unit_idx 230 src/dps8/dps8_cpu.c if (cpus[cpu_unit_idx].set_affinity) cpu_unit_idx 231 src/dps8/dps8_cpu.c sim_msg ("CPU affinity: %d\n", cpus[cpu_unit_idx].affinity); cpu_unit_idx 235 src/dps8/dps8_cpu.c sim_msg ("ISOLTS mode: %01o(8)\n", cpus[cpu_unit_idx].tweaks.isolts_mode); cpu_unit_idx 236 src/dps8/dps8_cpu.c sim_msg ("NODIS mode: %01o(8)\n", cpus[cpu_unit_idx].tweaks.nodis); cpu_unit_idx 238 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.l68_mode, cpus[cpu_unit_idx].tweaks.l68_mode ? "6180" : "DPS8/M"); cpu_unit_idx 463 src/dps8/dps8_cpu.c long cpu_unit_idx = UNIT_IDX (uptr); cpu_unit_idx 464 src/dps8/dps8_cpu.c if (cpu_unit_idx < 0 || cpu_unit_idx >= N_CPU_UNITS_MAX) cpu_unit_idx 467 src/dps8/dps8_cpu.c (long) cpu_unit_idx); cpu_unit_idx 492 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.FLT_BASE = (uint) v; cpu_unit_idx 494 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.cpu_num = (uint) v; cpu_unit_idx 496 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.data_switches = (word36) v; cpu_unit_idx 510 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.data_switches = d; cpu_unit_idx 513 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.addr_switches = (word18) v; cpu_unit_idx 515 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.procMode = v ? procModeMultics : procModeGCOS; cpu_unit_idx 517 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.proc_speed = (uint) v; cpu_unit_idx 519 src/dps8/dps8_cpu.c if ((! cpus[cpu_unit_idx].tweaks.l68_mode) && (int) v > 4) { cpu_unit_idx 526 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [port_num] = (uint) v; cpu_unit_idx 528 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [port_num] = (uint) v; cpu_unit_idx 530 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [port_num] = (uint) v; cpu_unit_idx 532 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [port_num] = (uint) v; cpu_unit_idx 535 src/dps8/dps8_cpu.c if (cpus[cpu_unit_idx].tweaks.l68_mode) { cpu_unit_idx 559 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [port_num] = (uint) v; cpu_unit_idx 562 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable_cache = (uint) v ? true : false; cpu_unit_idx 564 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.sdwam_enable = (uint) v ? true : false; cpu_unit_idx 566 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.ptwam_enable = (uint) v ? true : false; cpu_unit_idx 568 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.dis_enable = (uint) v; cpu_unit_idx 572 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.halt_on_unimp = (uint) v; cpu_unit_idx 574 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.enable_wam = (uint) v; cpu_unit_idx 576 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.report_faults = (uint) v; cpu_unit_idx 578 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.tro_enable = (uint) v; cpu_unit_idx 582 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.drl_fatal = (uint) v; cpu_unit_idx 584 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.useMap = v; cpu_unit_idx 586 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.prom_installed = v; cpu_unit_idx 588 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.hex_mode_installed = v; cpu_unit_idx 590 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.cache_installed = v; cpu_unit_idx 592 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.clock_slave_installed = v; cpu_unit_idx 594 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.enable_emcall = v; cpu_unit_idx 599 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].set_affinity = false; cpu_unit_idx 603 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].set_affinity = true; cpu_unit_idx 604 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].affinity = (uint) v; cpu_unit_idx 609 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.isolts_mode = v; cpu_unit_idx 613 src/dps8/dps8_cpu.c if (cpus[cpu_unit_idx].tweaks.l68_mode) // L68 cpu_unit_idx 617 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].isolts_switches_save = cpus[cpu_unit_idx].switches; cpu_unit_idx 618 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].isolts_switches_saved = true; cpu_unit_idx 620 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.data_switches = 00000030714000; cpu_unit_idx 621 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.addr_switches = 0100150; cpu_unit_idx 622 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.useMap = true; cpu_unit_idx 623 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.enable_wam = true; cpu_unit_idx 624 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [0] = 0; cpu_unit_idx 625 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [0] = false; cpu_unit_idx 626 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [0] = false; cpu_unit_idx 627 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [0] = false; cpu_unit_idx 628 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [0] = store_sz; cpu_unit_idx 630 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [1] = 0; cpu_unit_idx 631 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [1] = false; cpu_unit_idx 632 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [1] = true; cpu_unit_idx 633 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [1] = false; cpu_unit_idx 634 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [1] = store_sz; cpu_unit_idx 636 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [2] = 0; cpu_unit_idx 637 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [2] = false; cpu_unit_idx 638 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [2] = false; cpu_unit_idx 639 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [2] = false; cpu_unit_idx 640 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [2] = store_sz; cpu_unit_idx 642 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [3] = 0; cpu_unit_idx 643 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [3] = false; cpu_unit_idx 644 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [3] = false; cpu_unit_idx 645 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [3] = false; cpu_unit_idx 646 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [3] = store_sz; cpu_unit_idx 648 src/dps8/dps8_cpu.c if (cpus[cpu_unit_idx].tweaks.l68_mode) { // L68 cpu_unit_idx 649 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [4] = 0; cpu_unit_idx 650 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [4] = false; cpu_unit_idx 651 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [4] = false; cpu_unit_idx 652 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [4] = false; cpu_unit_idx 653 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [4] = 3; cpu_unit_idx 655 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [5] = 0; cpu_unit_idx 656 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [5] = false; cpu_unit_idx 657 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [5] = false; cpu_unit_idx 658 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [5] = false; cpu_unit_idx 659 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [5] = 3; cpu_unit_idx 661 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [6] = 0; cpu_unit_idx 662 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [6] = false; cpu_unit_idx 663 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [6] = false; cpu_unit_idx 664 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [6] = false; cpu_unit_idx 665 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [6] = 3; cpu_unit_idx 667 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [7] = 0; cpu_unit_idx 668 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [7] = false; cpu_unit_idx 669 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [7] = false; cpu_unit_idx 670 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [7] = false; cpu_unit_idx 671 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [7] = 3; cpu_unit_idx 673 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); cpu_unit_idx 674 src/dps8/dps8_cpu.c simh_cpu_reset_and_clear_unit (cpu_unit + cpu_unit_idx, 0, NULL, NULL); cpu_unit_idx 675 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [1] = true; cpu_unit_idx 679 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches = cpus[cpu_unit_idx].isolts_switches_save; cpu_unit_idx 680 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].isolts_switches_saved = false; cpu_unit_idx 682 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); cpu_unit_idx 683 src/dps8/dps8_cpu.c simh_cpu_reset_and_clear_unit (cpu_unit + cpu_unit_idx, 0, NULL, NULL); cpu_unit_idx 687 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.nodis = v; cpu_unit_idx 689 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.l68_mode= v; cpu_unit_idx 997 src/dps8/dps8_cpu.c long cpu_unit_idx = UNIT_IDX (uptr); cpu_unit_idx 998 src/dps8/dps8_cpu.c cpu_state_t * cpun = cpus + cpu_unit_idx; cpu_unit_idx 1015 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); cpu_unit_idx 1024 src/dps8/dps8_cpu.c long cpu_unit_idx = UNIT_IDX (uptr); cpu_unit_idx 1025 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); // no clear memory cpu_unit_idx 1237 src/dps8/dps8_cpu.c static t_stat cpu_boot (UNUSED int32 cpu_unit_idx, UNUSED DEVICE * dptr) cpu_unit_idx 1406 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; cpu_unit_idx 1473 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; cpu_unit_idx 1979 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cpu_unit_idx 2311 src/dps8/dps8_scu.c scu_to_cpu[scu_unit_idx][scu_port_num][sn].cpu_unit_idx; cpu_unit_idx 2325 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].cpu_unit_idx; cpu_unit_idx 2513 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cpu_unit_idx 2611 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cpu_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, cpu_unit_idx 96 src/dps8/dps8_scu.h t_stat scu_smic (uint scu_unit_idx, uint UNUSED cpu_unit_idx, uint cpu_port_num, word36 rega); cpu_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); cpu_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); cpu_unit_idx 99 src/dps8/dps8_scu.h t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_idx, word36 * rega, word36 * regq); cpu_unit_idx 100 src/dps8/dps8_scu.h t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_idx, word36 rega, word36 regq);