cpu_unit_idx 328 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 331 src/dps8/dps8_cable.c struct cpu_to_scu_s * p = & cables->cpu_to_scu[cpu_unit_idx][cpu_port_num]; cpu_unit_idx 340 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 354 src/dps8/dps8_cable.c uint scu_subport_num, uint cpu_unit_idx, uint cpu_port_num, bool is_exp) cpu_unit_idx 367 src/dps8/dps8_cable.c t_stat rc = back_cable_cpu_to_scu (uncable, cpu_unit_idx, cpu_port_num, cpu_unit_idx 391 src/dps8/dps8_cable.c t_stat rc = back_cable_cpu_to_scu (uncable, cpu_unit_idx, cpu_port_num, cpu_unit_idx 399 src/dps8/dps8_cable.c p->cpu_unit_idx = cpu_unit_idx; cpu_unit_idx 403 src/dps8/dps8_cable.c scu[scu_unit_idx].ports[scu_port_num].dev_idx = (int) cpu_unit_idx; cpu_unit_idx 409 src/dps8/dps8_cable.c cpus[cpu_unit_idx].scu_port[scu_unit_idx] = scu_port_num; cpu_unit_idx 1570 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 121 src/dps8/dps8_cable.h uint cpu_unit_idx; cpu_unit_idx 282 src/dps8/dps8_cable.h #define get_scu_idx(cpu_unit_idx, cpu_port_num) \ cpu_unit_idx 283 src/dps8/dps8_cable.h (cables->cpu_to_scu[cpu_unit_idx][cpu_port_num].scu_unit_idx) cpu_unit_idx 287 src/dps8/dps8_cable.h #define get_scu_in_use(cpu_unit_idx, cpu_port_num) \ cpu_unit_idx 288 src/dps8/dps8_cable.h (cables->cpu_to_scu[cpu_unit_idx][cpu_port_num].in_use) cpu_unit_idx 143 src/dps8/dps8_cpu.c long cpu_unit_idx = UNIT_IDX (uptr); cpu_unit_idx 144 src/dps8/dps8_cpu.c if (cpu_unit_idx < 0 || cpu_unit_idx >= N_CPU_UNITS_MAX) cpu_unit_idx 146 src/dps8/dps8_cpu.c sim_warn ("error: Invalid unit number %ld\n", (long) cpu_unit_idx); cpu_unit_idx 172 src/dps8/dps8_cpu.c sim_msg ("CPU unit number %ld\n", (long) cpu_unit_idx); cpu_unit_idx 175 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.FLT_BASE); cpu_unit_idx 177 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.cpu_num); cpu_unit_idx 179 src/dps8/dps8_cpu.c (unsigned long long)cpus[cpu_unit_idx].switches.data_switches); cpu_unit_idx 181 src/dps8/dps8_cpu.c PBI_64((unsigned long long)cpus[cpu_unit_idx].switches.data_switches)); cpu_unit_idx 185 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.addr_switches); cpu_unit_idx 187 src/dps8/dps8_cpu.c PBI_32(cpus[cpu_unit_idx].switches.addr_switches)); cpu_unit_idx 190 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 193 src/dps8/dps8_cpu.c 'A' + i, cpus[cpu_unit_idx].switches.enable [i]); cpu_unit_idx 195 src/dps8/dps8_cpu.c 'A' + i, cpus[cpu_unit_idx].switches.init_enable [i]); cpu_unit_idx 197 src/dps8/dps8_cpu.c 'A' + i, cpus[cpu_unit_idx].switches.assignment [i]); cpu_unit_idx 199 src/dps8/dps8_cpu.c 'A' + i, cpus[cpu_unit_idx].switches.interlace [i]); cpu_unit_idx 201 src/dps8/dps8_cpu.c 'A' + i, cpus[cpu_unit_idx].switches.store_size [i]); cpu_unit_idx 204 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.procMode == procModeMultics ? "Multics" : cpus[cpu_unit_idx].switches.procMode == procModeGCOS ? "GCOS" : "???", cpu_unit_idx 205 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.procMode); cpu_unit_idx 207 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable_cache ? "Enabled" : "Disabled"); cpu_unit_idx 209 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.sdwam_enable ? "Enabled" : "Disabled"); cpu_unit_idx 211 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.ptwam_enable ? "Enabled" : "Disabled"); cpu_unit_idx 214 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.proc_speed); cpu_unit_idx 216 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.dis_enable); cpu_unit_idx 220 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.halt_on_unimp); cpu_unit_idx 222 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.enable_wam); cpu_unit_idx 224 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.report_faults); cpu_unit_idx 226 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.tro_enable); cpu_unit_idx 230 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.drl_fatal); cpu_unit_idx 232 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.useMap); cpu_unit_idx 234 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.prom_installed); cpu_unit_idx 236 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.hex_mode_installed); cpu_unit_idx 238 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.cache_installed); cpu_unit_idx 240 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.clock_slave_installed); cpu_unit_idx 242 src/dps8/dps8_cpu.c if (cpus[cpu_unit_idx].set_affinity) cpu_unit_idx 243 src/dps8/dps8_cpu.c sim_msg ("CPU affinity: %d\n", cpus[cpu_unit_idx].affinity); cpu_unit_idx 247 src/dps8/dps8_cpu.c sim_msg ("ISOLTS mode: %01o(8)\n", cpus[cpu_unit_idx].tweaks.isolts_mode); cpu_unit_idx 248 src/dps8/dps8_cpu.c sim_msg ("NODIS mode: %01o(8)\n", cpus[cpu_unit_idx].tweaks.nodis); cpu_unit_idx 249 src/dps8/dps8_cpu.c sim_msg ("6180 mode: %01o(8) [%s]\n", cpus[cpu_unit_idx].tweaks.l68_mode, cpus[cpu_unit_idx].tweaks.l68_mode ? "6180" : "DPS8/M"); cpu_unit_idx 474 src/dps8/dps8_cpu.c long cpu_unit_idx = UNIT_IDX (uptr); cpu_unit_idx 475 src/dps8/dps8_cpu.c if (cpu_unit_idx < 0 || cpu_unit_idx >= N_CPU_UNITS_MAX) cpu_unit_idx 478 src/dps8/dps8_cpu.c (long) cpu_unit_idx); cpu_unit_idx 503 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.FLT_BASE = (uint) v; cpu_unit_idx 505 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.cpu_num = (uint) v; cpu_unit_idx 507 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.data_switches = (word36) v; cpu_unit_idx 521 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.data_switches = d; cpu_unit_idx 524 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.addr_switches = (word18) v; cpu_unit_idx 526 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.procMode = v ? procModeMultics : procModeGCOS; cpu_unit_idx 528 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.proc_speed = (uint) v; cpu_unit_idx 530 src/dps8/dps8_cpu.c if ((! cpus[cpu_unit_idx].tweaks.l68_mode) && (int) v > 4) { cpu_unit_idx 537 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [port_num] = (uint) v; cpu_unit_idx 539 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [port_num] = (uint) v; cpu_unit_idx 541 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [port_num] = (uint) v; cpu_unit_idx 543 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [port_num] = (uint) v; cpu_unit_idx 546 src/dps8/dps8_cpu.c if (cpus[cpu_unit_idx].tweaks.l68_mode) { cpu_unit_idx 570 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [port_num] = (uint) v; cpu_unit_idx 573 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable_cache = (uint) v ? true : false; cpu_unit_idx 575 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.sdwam_enable = (uint) v ? true : false; cpu_unit_idx 577 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.ptwam_enable = (uint) v ? true : false; cpu_unit_idx 579 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.dis_enable = (uint) v; cpu_unit_idx 583 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.halt_on_unimp = (uint) v; cpu_unit_idx 585 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.enable_wam = (uint) v; cpu_unit_idx 587 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.report_faults = (uint) v; cpu_unit_idx 589 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.tro_enable = (uint) v; cpu_unit_idx 593 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.drl_fatal = (uint) v; cpu_unit_idx 595 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.useMap = v; cpu_unit_idx 597 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.prom_installed = v; cpu_unit_idx 599 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.hex_mode_installed = v; cpu_unit_idx 601 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.cache_installed = v; cpu_unit_idx 603 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.clock_slave_installed = v; cpu_unit_idx 605 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.enable_emcall = v; cpu_unit_idx 610 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].set_affinity = false; cpu_unit_idx 614 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].set_affinity = true; cpu_unit_idx 615 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].affinity = (uint) v; cpu_unit_idx 620 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.isolts_mode = v; cpu_unit_idx 624 src/dps8/dps8_cpu.c if (cpus[cpu_unit_idx].tweaks.l68_mode) // L68 cpu_unit_idx 628 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].isolts_switches_save = cpus[cpu_unit_idx].switches; cpu_unit_idx 629 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].isolts_switches_saved = true; cpu_unit_idx 631 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.data_switches = 00000030714000; cpu_unit_idx 632 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.addr_switches = 0100150; cpu_unit_idx 633 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.useMap = true; cpu_unit_idx 634 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.enable_wam = true; cpu_unit_idx 635 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [0] = 0; cpu_unit_idx 636 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [0] = false; cpu_unit_idx 637 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [0] = false; cpu_unit_idx 638 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [0] = false; cpu_unit_idx 639 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [0] = store_sz; cpu_unit_idx 641 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [1] = 0; cpu_unit_idx 642 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [1] = false; cpu_unit_idx 643 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [1] = true; cpu_unit_idx 644 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [1] = false; cpu_unit_idx 645 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [1] = store_sz; cpu_unit_idx 647 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [2] = 0; cpu_unit_idx 648 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [2] = false; cpu_unit_idx 649 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [2] = false; cpu_unit_idx 650 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [2] = false; cpu_unit_idx 651 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [2] = store_sz; cpu_unit_idx 653 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [3] = 0; cpu_unit_idx 654 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [3] = false; cpu_unit_idx 655 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [3] = false; cpu_unit_idx 656 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [3] = false; cpu_unit_idx 657 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [3] = store_sz; cpu_unit_idx 659 src/dps8/dps8_cpu.c if (cpus[cpu_unit_idx].tweaks.l68_mode) { // L68 cpu_unit_idx 660 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [4] = 0; cpu_unit_idx 661 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [4] = false; cpu_unit_idx 662 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [4] = false; cpu_unit_idx 663 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [4] = false; cpu_unit_idx 664 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [4] = 3; cpu_unit_idx 666 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [5] = 0; cpu_unit_idx 667 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [5] = false; cpu_unit_idx 668 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [5] = false; cpu_unit_idx 669 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [5] = false; cpu_unit_idx 670 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [5] = 3; cpu_unit_idx 672 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [6] = 0; cpu_unit_idx 673 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [6] = false; cpu_unit_idx 674 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [6] = false; cpu_unit_idx 675 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [6] = false; cpu_unit_idx 676 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [6] = 3; cpu_unit_idx 678 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [7] = 0; cpu_unit_idx 679 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [7] = false; cpu_unit_idx 680 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [7] = false; cpu_unit_idx 681 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [7] = false; cpu_unit_idx 682 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [7] = 3; cpu_unit_idx 684 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); cpu_unit_idx 685 src/dps8/dps8_cpu.c simh_cpu_reset_and_clear_unit (cpu_unit + cpu_unit_idx, 0, NULL, NULL); cpu_unit_idx 686 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [1] = true; cpu_unit_idx 690 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches = cpus[cpu_unit_idx].isolts_switches_save; cpu_unit_idx 691 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].isolts_switches_saved = false; cpu_unit_idx 693 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); cpu_unit_idx 694 src/dps8/dps8_cpu.c simh_cpu_reset_and_clear_unit (cpu_unit + cpu_unit_idx, 0, NULL, NULL); cpu_unit_idx 698 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.nodis = v; cpu_unit_idx 700 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.l68_mode= v; cpu_unit_idx 1002 src/dps8/dps8_cpu.c long cpu_unit_idx = UNIT_IDX (uptr); cpu_unit_idx 1003 src/dps8/dps8_cpu.c cpu_state_t * cpun = cpus + cpu_unit_idx; cpu_unit_idx 1020 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); cpu_unit_idx 1029 src/dps8/dps8_cpu.c long cpu_unit_idx = UNIT_IDX (uptr); cpu_unit_idx 1030 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); // no clear memory cpu_unit_idx 1242 src/dps8/dps8_cpu.c static t_stat cpu_boot (UNUSED int32 cpu_unit_idx, UNUSED DEVICE * dptr) cpu_unit_idx 1395 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; cpu_unit_idx 1462 src/dps8/dps8_scu.c uint cpu_unit_udx = cables->scu_to_cpu[scu_unit_idx][port][sn].cpu_unit_idx; cpu_unit_idx 1965 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cpu_unit_idx 2296 src/dps8/dps8_scu.c scu_to_cpu[scu_unit_idx][scu_port_num][sn].cpu_unit_idx; cpu_unit_idx 2310 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].cpu_unit_idx; cpu_unit_idx 2487 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cpu_unit_idx 2582 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cpu_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, cpu_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); cpu_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); cpu_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); cpu_unit_idx 102 src/dps8/dps8_scu.h t_stat scu_rmcm (uint scu_unit_idx, uint cpu_unit_idx, word36 * rega, word36 * regq); cpu_unit_idx 103 src/dps8/dps8_scu.h t_stat scu_smcm (uint scu_unit_idx, uint cpu_unit_idx, word36 rega, word36 regq);