/titanic_50/usr/src/uts/sun4/os/ |
H A D | mp_startup.c | 97 common_startup_init(cpu_t *cp, int cpuid) in common_startup_init() argument 124 CPUSET_ADD(sfmmup->sfmmu_cpusran, cpuid); in common_startup_init() 133 cp->cpu_id = cpuid; in common_startup_init() 158 cold_flag_set(int cpuid) in cold_flag_set() argument 164 cp = cpu[cpuid]; in cold_flag_set() 176 warm_flag_set(int cpuid) in warm_flag_set() argument 185 cp = cpu[cpuid]; in warm_flag_set() 211 start_cpu(int cpuid, void(*flag_func)(int)) in start_cpu() argument 226 CPUSET_DEL(proxy_ready_set, cpuid); in start_cpu() 228 (void) prom_startcpu_bycpuid(cpuid, (caddr_t)&cpu_startup, in start_cpu() [all …]
|
H A D | mp_states.c | 87 int i, cpuid, ntries; in idle_other_cpus() local 95 cpuid = CPU->cpu_id; in idle_other_cpus() 96 ASSERT(cpuid < NCPU); in idle_other_cpus() 99 CPUSET_DEL(cpu_idle_set, cpuid); in idle_other_cpus() 137 int cpuid = CPU->cpu_id; in resume_other_cpus() local 143 ASSERT(cpuid < NCPU); in resume_other_cpus() 217 int cpuid = cp->cpu_id; in mp_cpu_quiesce() local 221 ASSERT(CPU->cpu_id != cpuid); in mp_cpu_quiesce() 232 CPUSET_DEL(cpu_ready_set, cpuid); in mp_cpu_quiesce() 252 f, cpuid); in mp_cpu_quiesce()
|
/titanic_50/usr/src/uts/sun4/sys/ |
H A D | cpu_sgnblk_defs.h | 119 #define CPU_SIGNATURE(sig, state, sub_state, cpuid) \ argument 122 (*cpu_sgn_func)((sig), (state), (sub_state), (cpuid)); \ 139 #define CPU_SGN_MAPIN(cpuid) cpu_sgn_mapin(cpuid) argument 140 #define CPU_SGN_MAPOUT(cpuid) cpu_sgn_mapout(cpuid) argument 141 #define CPU_SGN_EXISTS(cpuid) cpu_sgn_exists(cpuid) argument 142 #define SGN_CPU_IS_OS(cpuid) (get_cpu_sgn(cpuid) == OS_SIG) argument 143 #define SGN_CPU_IS_OBP(cpuid) (get_cpu_sgn(cpuid) == OBP_SIG) argument 144 #define SGN_CPU_STATE_IS_DETACHED(cpuid) \ argument 145 (get_cpu_sgn_state(cpuid) == SIGST_DETACHED) 150 #define CPU_SGN_MAPIN(cpuid) argument [all …]
|
H A D | xc_impl.h | 58 #define XT_SYNC_ONE(cpuid) \ argument 61 CPUSET_ONLY(set, cpuid); \ 72 #define XT_SYNC_ONE(cpuid) \ argument 75 send_one_mondo(cpuid); \ 90 #define XC_SPL_ENTER(cpuid, opl) \ argument 93 cpuid = CPU->cpu_id; \ 94 if (xc_spl_enter[cpuid] && !panic_quiesce) \ 96 cpuid); \ 97 xc_spl_enter[cpuid] = 1; \ 100 #define XC_SPL_EXIT(cpuid, opl) \ argument [all …]
|
/titanic_50/usr/src/uts/sun4u/os/ |
H A D | mach_mp_startup.c | 44 int cpuid = cp->cpu_id; in init_cpu_info() local 45 struct cpu_node *cpunode = &cpunodes[cpuid]; in init_cpu_info() 70 CPU_SGN_MAPIN(cpuid); in init_cpu_info() 71 if (cpuid == cpu0.cpu_id) { in init_cpu_info() 77 CPU_SIGNATURE(OS_SIG, SIGST_RUN, SIGSUBST_NULL, cpuid); in init_cpu_info() 79 cpuid = cpuid; in init_cpu_info() 89 mp_cpu_unconfigure(int cpuid) in mp_cpu_unconfigure() argument 97 retval = cleanup_cpu_common(cpuid); in mp_cpu_unconfigure() 99 empty_cpu(cpuid); in mp_cpu_unconfigure() 105 int cpuid; /* set by mp_cpu_configure() */ member [all …]
|
H A D | cmp.c | 51 cmp_cpu_is_cmp(processorid_t cpuid) in cmp_cpu_is_cmp() argument 56 chipid = cpunodes[cpuid].portid; in cmp_cpu_is_cmp() 65 cmp_add_cpu(chipid_t chipid, processorid_t cpuid) in cmp_add_cpu() argument 67 CPUSET_ADD(chips[chipid], cpuid); in cmp_add_cpu() 74 cmp_delete_cpu(processorid_t cpuid) in cmp_delete_cpu() argument 79 chipid = cpunodes[cpuid].portid; in cmp_delete_cpu() 80 CPUSET_DEL(chips[chipid], cpuid); in cmp_delete_cpu() 91 cmp_error_resteer(processorid_t cpuid) in cmp_error_resteer() argument 99 if (!cmp_cpu_is_cmp(cpuid)) in cmp_error_resteer() 103 chipid = cpunodes[cpuid].portid; in cmp_error_resteer() [all …]
|
/titanic_50/usr/src/uts/sun4v/os/ |
H A D | mach_mp_startup.c | 49 int cpuid = cp->cpu_id; in init_cpu_info() local 50 struct cpu_node *cpunode = &cpunodes[cpuid]; in init_cpu_info() 75 CPU_SGN_MAPIN(cpuid); in init_cpu_info() 85 if (cpuid == cpu0.cpu_id && ncpus == 1 && cpu_list[0].cpu_id == cpuid) { in init_cpu_info() 91 CPU_SIGNATURE(OS_SIG, SIGST_RUN, SIGSUBST_NULL, cpuid); in init_cpu_info() 98 cpuid = cpuid; in init_cpu_info() 108 mp_cpu_unconfigure(int cpuid) in mp_cpu_unconfigure() argument 116 retval = cleanup_cpu_common(cpuid); in mp_cpu_unconfigure() 118 empty_cpu(cpuid); in mp_cpu_unconfigure() 120 mpo_cpu_remove(cpuid); in mp_cpu_unconfigure() [all …]
|
H A D | mach_mp_states.c | 73 stopcpu_bycpuid(int cpuid) in stopcpu_bycpuid() argument 89 if (hv_cpu_state(cpuid, &state) != H_EOK) in stopcpu_bycpuid() 133 if ((rv = hv_cpu_stop(cpuid)) != H_EWOULDBLOCK) in stopcpu_bycpuid() 148 if (hv_cpu_state(cpuid, &state) != H_EOK) in stopcpu_bycpuid() 171 processorid_t cpuid = cpup->cpu_id; in xt_cpu_unreg_powerdown() local 186 xt_one_unchecked(cpuid, (xcfunc_t *)cpu_intrq_unregister_powerdown, in xt_cpu_unreg_powerdown() 208 cpuid); in xt_cpu_unreg_powerdown() 221 processorid_t cpuid = cp->cpu_id; in plat_cpu_poweroff() local 253 if ((status = stopcpu_bycpuid(cpuid)) != 0) { in plat_cpu_poweroff() 260 cmn_err(CE_WARN, "failed to stop cpu %d (%d)", cpuid, status); in plat_cpu_poweroff()
|
H A D | mach_startup.c | 353 mach_htraptrace_setup(int cpuid) in mach_htraptrace_setup() argument 358 if (mach_htraptrace_enable && ((cpuid != bootcpuid) || in mach_htraptrace_setup() 360 ctlp = &trap_trace_ctl[cpuid]; in mach_htraptrace_setup() 361 ctlp->d.hvaddr_base = (cpuid == bootcpuid) ? htrap_tr0 : in mach_htraptrace_setup() 367 "traptrace buffer", cpuid); in mach_htraptrace_setup() 379 mach_htraptrace_configure(int cpuid) in mach_htraptrace_configure() argument 387 ctlp = &trap_trace_ctl[cpuid]; in mach_htraptrace_configure() 396 "size 0x%lx at address 0x%lx", cpuid, in mach_htraptrace_configure() 410 "%ld", cpuid, TTRACE_ENABLE, ret); in mach_htraptrace_configure() 419 cpuid, TTRACE_BUF_CONF, ret); in mach_htraptrace_configure() [all …]
|
/titanic_50/usr/src/uts/sun4u/starcat/io/ |
H A D | scosmb.c | 133 uint16_t cpuid; /* Safari ID of base CPU */ member 290 dp_get_cores(uint16_t cpuid) in dp_get_cores() argument 294 exp = STARCAT_CPUID_TO_EXPANDER(cpuid); in dp_get_cores() 295 slot = STARCAT_CPUID_TO_BOARDSLOT(cpuid); in dp_get_cores() 330 uint16_t *dparray, cpuid; in dp_payload_add_cpus() local 334 ncores = dp_get_cores(dpmsg->cpuid); in dp_payload_add_cpus() 390 exp = STARCAT_CPUID_TO_EXPANDER(dpmsg->cpuid); in dp_payload_add_cpus() 391 slot = STARCAT_CPUID_TO_BOARDSLOT(dpmsg->cpuid); in dp_payload_add_cpus() 392 port = STARCAT_CPUID_TO_LPORT(dpmsg->cpuid); in dp_payload_add_cpus() 402 cpuid = dpmsg->cpuid & 0xFFFB; /* core 0 */ in dp_payload_add_cpus() [all …]
|
/titanic_50/usr/src/cmd/fm/schemes/cpu/ |
H A D | cpu.c | 69 cpu_cpuid_present(uint32_t cpuid) in cpu_cpuid_present() argument 80 ksp = kstat_lookup(kc, "cpu_info", cpuid, NULL); in cpu_cpuid_present() 92 cpu_get_serialid_kstat(uint32_t cpuid, uint64_t *serialidp) in cpu_get_serialid_kstat() argument 102 if ((ksp = kstat_lookup(kc, "cpu_info", cpuid, NULL)) == NULL) { in cpu_get_serialid_kstat() 126 cpu_get_serialid_V1(uint32_t cpuid, char *serbuf, size_t len) in cpu_get_serialid_V1() argument 131 err = cpu_get_serialid_kstat(cpuid, &serial); in cpu_get_serialid_V1() 138 cpu_get_serialid_V0(uint32_t cpuid, uint64_t *serialidp) in cpu_get_serialid_V0() argument 140 return (cpu_get_serialid_kstat(cpuid, serialidp)); in cpu_get_serialid_V0() 147 uint32_t cpuid; in fmd_fmri_expand() local 154 nvlist_lookup_uint32(nvl, FM_FMRI_CPU_ID, &cpuid) != 0) in fmd_fmri_expand() [all …]
|
/titanic_50/usr/src/uts/sun4u/starfire/os/ |
H A D | cpu_sgnblk.c | 65 cpu_sgn_mapin(int cpuid) in cpu_sgn_mapin() argument 74 ASSERT(cpu_sgnblkp[cpuid] == NULL); in cpu_sgn_mapin() 81 STARFIRE_UPAID2UPS(cpuid) | STARFIRE_PSI_BASE; in cpu_sgn_mapin() 93 if (cpuid & 0x1) { in cpu_sgn_mapin() 121 cpu_sgnblkp[cpuid] = ((cpu_sgnblk_t *)(cvaddr + in cpu_sgn_mapin() 126 cpu_sgn_mapout(int cpuid) in cpu_sgn_mapout() argument 133 if ((cvaddr = (ulong_t)cpu_sgnblkp[cpuid]) == NULL) { in cpu_sgn_mapout() 135 "cpu_sgnblkp[%d] = NULL\n", cpuid); in cpu_sgn_mapout() 143 bbsram_physaddr = STARFIRE_UPAID2UPS(cpuid) | in cpu_sgn_mapout() 157 if (cpuid & 0x1) { in cpu_sgn_mapout() [all …]
|
/titanic_50/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_cpu.c | 102 sbdp_disconnect_cpu(sbdp_handle_t *hp, dev_info_t *dip, processorid_t cpuid) in sbdp_disconnect_cpu() argument 109 processorid_t cpu = cpuid; in sbdp_disconnect_cpu() 143 sbdp_cpu_in_reset(wnode, bd, SG_CPUID_TO_CPU_UNIT(cpuid), 1); in sbdp_disconnect_cpu() 159 portid = SG_CPUID_TO_PORTID(cpuid); in sbdp_disconnect_cpu() 183 sbdp_connect_cpu(sbdp_handle_t *hp, dev_info_t *dip, processorid_t cpuid) in sbdp_connect_cpu() argument 218 if (sbdp_is_cpu_in_reset(wnode, bd, SG_CPUID_TO_CPU_UNIT(cpuid))) { in sbdp_connect_cpu() 222 processorid_t cpu = cpuid; in sbdp_connect_cpu() 234 portid = SG_CPUID_TO_PORTID(cpuid); in sbdp_connect_cpu() 256 sbdp_cpu_in_reset(wnode, bd, SG_CPUID_TO_CPU_UNIT(cpuid), 0); in sbdp_connect_cpu() 286 int cpuid; in sbdp_cpu_poweron() local [all …]
|
/titanic_50/usr/src/uts/sun4v/io/ |
H A D | dr_cpu.c | 118 uint32_t cpuid; member 149 static int dr_cpu_deprobe(processorid_t cpuid); 151 static dev_info_t *dr_cpu_find_node(processorid_t cpuid); 563 res[idx].cpuid = rsrc[idx].res_cpu_id; in dr_cpu_res_array_init() 678 resp_stat[idx].cpuid = res[idx].cpuid; in dr_cpu_pack_response() 992 stat[idx].cpuid = cpuids[idx]; in dr_cpu_list_status() 1025 cpunode = dr_cpu_find_node_md(stat[idx].cpuid, mdp, listp); in dr_cpu_list_status() 1050 dr_cpu_configure(processorid_t cpuid, int *status, boolean_t force) in dr_cpu_configure() argument 1061 if ((rv = dr_cpu_probe(cpuid)) != 0) { in dr_cpu_configure() 1062 DR_DBG_CPU("failed to probe CPU %d (%d)\n", cpuid, rv); in dr_cpu_configure() [all …]
|
/titanic_50/usr/src/psm/promif/ieee1275/sun4u/ |
H A D | prom_starfire.c | 44 prom_starfire_add_brd(uint_t cpuid) in prom_starfire_add_brd() argument 52 ci[3] = p1275_uint2cell(cpuid); in prom_starfire_add_brd() 90 prom_starfire_add_cpu(uint_t cpuid) in prom_starfire_add_cpu() argument 97 ci[3] = p1275_uint2cell(cpuid); in prom_starfire_add_cpu() 109 prom_starfire_rm_cpu(uint_t cpuid) in prom_starfire_rm_cpu() argument 116 ci[3] = p1275_uint2cell(cpuid); in prom_starfire_rm_cpu() 128 prom_starfire_move_cpu0(uint_t cpuid) in prom_starfire_move_cpu0() argument 136 ci[3] = p1275_uint2cell(cpuid); in prom_starfire_move_cpu0() 152 prom_starfire_init_console(uint_t cpuid) in prom_starfire_init_console() argument 159 ci[3] = p1275_uint2cell(cpuid); in prom_starfire_init_console()
|
/titanic_50/usr/src/uts/sun4u/io/ |
H A D | sbd_cpu.c | 342 processorid_t cpuid; in sbd_pre_release_cpu() local 359 cpuid = sbdp_get_cpuid(hdp, dip); in sbd_pre_release_cpu() 360 if (cpuid < 0) { in sbd_pre_release_cpu() 378 f, cpuid); in sbd_pre_release_cpu() 387 cp->sbc_cpu_flags = cpu[cpuid]->cpu_flags; in sbd_pre_release_cpu() 395 cpuid, unit); in sbd_pre_release_cpu() 396 if (cpu_offline(cpu[cpuid], cpu_offline_flags)) { in sbd_pre_release_cpu() 399 f, cpuid); in sbd_pre_release_cpu() 403 cpup = cpu_get(cpuid); in sbd_pre_release_cpu() 461 processorid_t cpuid; in sbd_pre_attach_cpu() local [all …]
|
/titanic_50/usr/src/cmd/fm/modules/sun4u/datapath-retire/ |
H A D | cda_cpu.c | 41 cda_cpu_offline(fmd_hdl_t *hdl, uint_t cpuid, int cpustate) in cda_cpu_offline() argument 47 if (p_online(cpuid, cpustate) != -1) { in cda_cpu_offline() 48 fmd_hdl_debug(hdl, "offlined cpu %u\n", cpuid); in cda_cpu_offline() 54 fmd_hdl_debug(hdl, "failed to offline %u: %s\n", cpuid, in cda_cpu_offline() 64 uint_t cpuid; in cda_dp_retire() local 88 cpuid = atoi(id); in cda_dp_retire() 91 "CPU %u\n", cpuid); in cda_dp_retire() 99 cda_cpu_offline(hdl, cpuid, cpustate); in cda_dp_retire()
|
/titanic_50/usr/src/uts/intel/ia32/os/ |
H A D | cpc_subr.c | 80 kcpc_cpu_setup(cpu_setup_t what, int cpuid, void *arg) in kcpc_cpu_setup() argument 99 chip_pg = (pg_cmt_t *)pghw_find_pg(cpu[cpuid], PGHW_CHIP); in kcpc_cpu_setup() 118 struct cpuid_regs cpuid; in kcpc_hw_init() local 130 cpuid.cp_eax = 0x0; in kcpc_hw_init() 131 (void) __cpuid_insn(&cpuid); in kcpc_hw_init() 132 if (cpuid.cp_eax < 0xa) { in kcpc_hw_init() 135 cpuid.cp_eax = 0xa; in kcpc_hw_init() 136 (void) __cpuid_insn(&cpuid); in kcpc_hw_init() 138 versionid = cpuid.cp_eax & 0xFF; in kcpc_hw_init() 201 kcpc_hw_cpu_hook(processorid_t cpuid, ulong_t *kcpc_cpumap) in kcpc_hw_cpu_hook() argument [all …]
|
/titanic_50/usr/src/cmd/mdb/intel/mdb/ |
H A D | kvm_isadep.c | 105 kt_kvmregs(mdb_tgt_t *t, uint_t cpuid, mdb_tgt_gregset_t *kregs) in kt_kvmregs() argument 111 if ((ret = kt->k_kb_ops->kb_getmregs(kt->k_cookie, cpuid, &mregs)) != 0) in kt_kvmregs() 134 intptr_t cpuid = 0; in kt_cpustack() local 139 if ((cpuid = kt_cpu2cpuid(addr)) < 0) { in kt_cpustack() 149 'c', MDB_OPT_UINTPTR, &cpuid, in kt_cpustack() 156 if (kt_kvmregs(t, cpuid, ®s) != 0) { in kt_cpustack() 157 mdb_warn("failed to get regs for cpu %d\n", cpuid); in kt_cpustack() 179 intptr_t cpuid = 0; in kt_cpuregs() local 185 if ((cpuid = kt_cpu2cpuid(addr)) < 0) { in kt_cpuregs() 194 'c', MDB_OPT_UINTPTR, &cpuid, in kt_cpuregs() [all …]
|
/titanic_50/usr/src/cmd/fm/modules/common/cpumem-retire/ |
H A D | cma_cpu.c | 164 uint_t cpuid; in cma_cpu_hc_retire() local 187 FM_FMRI_CPU_ID, &cpuid) != 0) { in cma_cpu_hc_retire() 192 if (cpu_statechange(hdl, nvl, hc_prs[i], uuid, cpuid, repair) in cma_cpu_hc_retire() 216 uint32_t cpuid) in cpu_online() argument 225 cpuid); in cpu_online() 235 fmd_hdl_debug(hdl, "suppressed unblacklist of CPU %u\n", cpuid); in cpu_online() 246 uint32_t cpuid) in cpu_offline() argument 259 cpuid); in cpu_offline() 270 cpuid); in cpu_offline() 280 uint32_t cpuid, boolean_t repair) in cpu_statechange() argument [all …]
|
/titanic_50/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kmdb_dpi_isadep.c | 48 kmdb_dpi_handle_fault(kreg_t tt, kreg_t tpc, kreg_t tnpc, kreg_t sp, int cpuid) in kmdb_dpi_handle_fault() argument 75 kmdb_fault(tt, tpc, sp, cpuid); in kmdb_dpi_handle_fault() 91 kmdb_dpi_get_rwin(int cpuid, int win, struct rwindow *rwin) in kmdb_dpi_get_rwin() argument 93 return (mdb.m_dpi->dpo_get_rwin(cpuid, win, rwin)); in kmdb_dpi_get_rwin() 97 kmdb_dpi_get_nwin(int cpuid) in kmdb_dpi_get_nwin() argument 99 return (mdb.m_dpi->dpo_get_nwin(cpuid)); in kmdb_dpi_get_nwin() 103 kmdb_dpi_kernpanic(int cpuid) in kmdb_dpi_kernpanic() argument 105 mdb.m_dpi->dpo_kernpanic(cpuid); in kmdb_dpi_kernpanic()
|
/titanic_50/usr/src/cmd/cpc/common/ |
H A D | cpustat.c | 74 processorid_t cpuid; member 108 static int get_chipid(kstat_ctl_t *kc, processorid_t cpuid); 315 print_sample(processorid_t cpuid, cpc_buf_t *buf, int nreq, const char *setname, in print_sample() argument 329 mstimestamp(hrtime), (int)cpuid, "tick"); in print_sample() 351 int designee = chip_designees[gstate[cpuid].chip_id]; in print_sample() 378 if ((i != cpuid) && (gstate[i].cpuid != -1) && in print_sample() 379 (chip_designees[gstate[i].chip_id] == cpuid)) in print_sample() 433 if (smt && chip_designees[state->chip_id] != state->cpuid) in gtick() 464 if (cpc_bind_cpu(cpc, state->cpuid, this, 0) == -1) in gtick() 500 print_sample(state->cpuid, *scratch, nreqs, name, 0); in gtick() [all …]
|
/titanic_50/usr/src/psm/promif/ieee1275/sun4/ |
H A D | prom_cpuctl.c | 33 prom_stopcpu_bycpuid(int cpuid) in prom_stopcpu_bycpuid() argument 40 ci[3] = p1275_int2cell(cpuid); /* Arg1: cpuid to stop */ in prom_stopcpu_bycpuid() 70 prom_startcpu_bycpuid(int cpuid, caddr_t pc, int arg) in prom_startcpu_bycpuid() argument 77 ci[3] = p1275_int2cell(cpuid); /* Arg1: cpuid to start */ in prom_startcpu_bycpuid() 131 prom_hotaddcpu(int cpuid) in prom_hotaddcpu() argument 138 ci[3] = p1275_int2cell(cpuid); /* Arg1: cpuid to start */ in prom_hotaddcpu() 148 prom_hotremovecpu(int cpuid) in prom_hotremovecpu() argument 155 ci[3] = p1275_int2cell(cpuid); /* Arg1: cpuid to start */ in prom_hotremovecpu()
|
/titanic_50/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_opl.c | 41 opl_cpulist_insert(fmd_hdl_t *hdl, uint32_t cpuid, int flt_type) in opl_cpulist_insert() argument 50 opl_cpu->oc_cpuid = cpuid; in opl_cpulist_insert() 60 sib_cpuid = cpuid ^ 1; in opl_cpulist_insert() 65 opl_cpu->oc_cpuid = cpuid; in opl_cpulist_insert() 81 base_cpuid = (cpuid >> CHIPID_SHIFT) << CHIPID_SHIFT; in opl_cpulist_insert() 137 opl_cpursrc_create(fmd_hdl_t *hdl, uint32_t cpuid) in opl_cpursrc_create() argument 146 if ((frustr = cmd_cpu_getfrustr_by_id(hdl, cpuid)) == NULL) { in opl_cpursrc_create() 181 ((cpuid >> CHIPID_SHIFT) & CHIP_OR_CORE_MASK), in opl_cpursrc_create() 182 "core", ((cpuid >> COREID_SHIFT) & CHIP_OR_CORE_MASK), in opl_cpursrc_create() 183 "strand", (cpuid & STRAND_MASK)) != 0) { in opl_cpursrc_create()
|
/titanic_50/usr/src/uts/i86pc/io/pcplusmp/ |
H A D | apic_common.c | 386 cmci_cpu_setup(cpu_setup_t what, int cpuid, void *arg) in cmci_cpu_setup() argument 390 CPUSET_ONLY(cpu_set, cpuid); in cmci_cpu_setup() 594 return (apic_cpu_stop(reqp->req.cpu_stop.cpuid, in apic_cpu_ops() 852 processorid_t cpuid = (processorid_t)-1; in apic_cpu_add() local 856 reqp->req.cpu_add.cpuid = (processorid_t)-1; in apic_cpu_add() 945 cpuid = i; in apic_cpu_add() 951 if (cpuid == (processorid_t)-1) { in apic_cpu_add() 955 cpuid = i; in apic_cpu_add() 962 if (cpuid == (processorid_t)-1) { in apic_cpu_add() 965 cpuid = i; in apic_cpu_add() [all …]
|