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 464 src/dps8/dps8_cpu.c long cpu_unit_idx = UNIT_IDX (uptr); cpu_unit_idx 465 src/dps8/dps8_cpu.c if (cpu_unit_idx < 0 || cpu_unit_idx >= N_CPU_UNITS_MAX) cpu_unit_idx 468 src/dps8/dps8_cpu.c (long) cpu_unit_idx); cpu_unit_idx 493 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.FLT_BASE = (uint) v; cpu_unit_idx 495 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.cpu_num = (uint) v; cpu_unit_idx 497 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.data_switches = (word36) v; cpu_unit_idx 511 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.data_switches = d; cpu_unit_idx 514 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.addr_switches = (word18) v; cpu_unit_idx 516 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.procMode = v ? procModeMultics : procModeGCOS; cpu_unit_idx 518 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.proc_speed = (uint) v; cpu_unit_idx 520 src/dps8/dps8_cpu.c if ((! cpus[cpu_unit_idx].tweaks.l68_mode) && (int) v > 4) { cpu_unit_idx 527 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.assignment [port_num] = (uint) v; cpu_unit_idx 529 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.interlace [port_num] = (uint) v; cpu_unit_idx 531 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable [port_num] = (uint) v; cpu_unit_idx 533 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.init_enable [port_num] = (uint) v; cpu_unit_idx 536 src/dps8/dps8_cpu.c if (cpus[cpu_unit_idx].tweaks.l68_mode) { cpu_unit_idx 560 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.store_size [port_num] = (uint) v; cpu_unit_idx 563 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.enable_cache = (uint) v ? true : false; cpu_unit_idx 565 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.sdwam_enable = (uint) v ? true : false; cpu_unit_idx 567 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches.ptwam_enable = (uint) v ? true : false; cpu_unit_idx 569 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.dis_enable = (uint) v; cpu_unit_idx 573 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.halt_on_unimp = (uint) v; cpu_unit_idx 575 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.enable_wam = (uint) v; cpu_unit_idx 577 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.report_faults = (uint) v; cpu_unit_idx 579 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.tro_enable = (uint) v; cpu_unit_idx 583 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.drl_fatal = (uint) v; cpu_unit_idx 585 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.useMap = v; cpu_unit_idx 587 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.prom_installed = v; cpu_unit_idx 589 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.hex_mode_installed = v; cpu_unit_idx 591 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.cache_installed = v; cpu_unit_idx 593 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].options.clock_slave_installed = v; cpu_unit_idx 595 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.enable_emcall = v; cpu_unit_idx 600 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].set_affinity = false; cpu_unit_idx 604 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].set_affinity = true; cpu_unit_idx 605 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].affinity = (uint) v; cpu_unit_idx 610 src/dps8/dps8_cpu.c bool was = cpus[cpu_unit_idx].tweaks.isolts_mode; cpu_unit_idx 611 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.isolts_mode = v; cpu_unit_idx 614 src/dps8/dps8_cpu.c if (cpus[cpu_unit_idx].tweaks.l68_mode) // L68 cpu_unit_idx 618 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].isolts_switches_save = cpus[cpu_unit_idx].switches; 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 cpus[cpu_unit_idx].switches.enable [1] = true; cpu_unit_idx 676 src/dps8/dps8_cpu.c if (cpus[cpu_unit_idx].executing) { cpu_unit_idx 677 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].forceRestart = true; cpu_unit_idx 678 src/dps8/dps8_cpu.c wakeCPU (cpu_unit_idx); cpu_unit_idx 680 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); 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 689 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].switches = cpus[cpu_unit_idx].isolts_switches_save; cpu_unit_idx 692 src/dps8/dps8_cpu.c if (cpus[cpu_unit_idx].executing) { cpu_unit_idx 693 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].forceRestart = true; cpu_unit_idx 694 src/dps8/dps8_cpu.c wakeCPU (cpu_unit_idx); cpu_unit_idx 696 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); cpu_unit_idx 700 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); cpu_unit_idx 701 src/dps8/dps8_cpu.c simh_cpu_reset_and_clear_unit (cpu_unit + cpu_unit_idx, 0, NULL, NULL); cpu_unit_idx 707 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.nodis = v; cpu_unit_idx 709 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.l68_mode = v; cpu_unit_idx 711 src/dps8/dps8_cpu.c cpus[cpu_unit_idx].tweaks.nosync = v; cpu_unit_idx 1023 src/dps8/dps8_cpu.c long cpu_unit_idx = UNIT_IDX (uptr); cpu_unit_idx 1024 src/dps8/dps8_cpu.c cpu_state_t * cpun = cpus + cpu_unit_idx; cpu_unit_idx 1041 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); cpu_unit_idx 1050 src/dps8/dps8_cpu.c long cpu_unit_idx = UNIT_IDX (uptr); cpu_unit_idx 1051 src/dps8/dps8_cpu.c cpu_reset_unit_idx ((uint) cpu_unit_idx, false); // no clear memory cpu_unit_idx 1263 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 1982 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cpu_unit_idx 2314 src/dps8/dps8_scu.c scu_to_cpu[scu_unit_idx][scu_port_num][sn].cpu_unit_idx; cpu_unit_idx 2328 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][scu_port_num][0].cpu_unit_idx; cpu_unit_idx 2516 src/dps8/dps8_scu.c cables->scu_to_cpu[scu_unit_idx][pn][sn].cpu_unit_idx == cpu_unit_idx 2614 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);