Lines Matching refs:CPU
162 (void) cpuid_getidstr(CPU, cp->cpu_idstr, CPU_IDSTRLEN); in init_cpu_info()
163 (void) cpuid_getbrandstr(CPU, cp->cpu_brandstr, CPU_IDSTRLEN); in init_cpu_info()
416 bcopy(CPU->cpu_gdt, cp->cpu_gdt, (sizeof (*cp->cpu_gdt) * NGDT)); in mp_cpu_configure_common()
430 ASSERT((sizeof (*CPU->cpu_idt) * NIDT) <= PAGESIZE); in mp_cpu_configure_common()
433 bcopy(CPU->cpu_idt, cp->cpu_idt, PAGESIZE); in mp_cpu_configure_common()
567 if (cp->cpu_idt != CPU->cpu_idt) in mp_cpu_unconfigure_common()
735 family = cpuid_getfamily(CPU); in opteron_get_nnodes()
809 ASSERT(cpu == CPU); in workaround_errata()
1528 init_cpu_info(CPU); in start_other_cpus()
1531 init_cpu_id_gdt(CPU); in start_other_cpus()
1534 cmn_err(CE_CONT, "?cpu%d: %s\n", CPU->cpu_id, CPU->cpu_idstr); in start_other_cpus()
1535 cmn_err(CE_CONT, "?cpu%d: %s\n", CPU->cpu_id, CPU->cpu_brandstr); in start_other_cpus()
1553 init_cpu_syscall(CPU); in start_other_cpus()
1581 xc_init_cpu(CPU); /* initialize processor crosscalls */ in start_other_cpus()
1701 cpu_t *cp = CPU; in mp_startup_common()
1730 cpuid_getvendor(CPU) == X86_VENDOR_Intel && in mp_startup_common()
1731 cpuid_getfamily(CPU) == 6 && in mp_startup_common()
1732 (cpuid_getmodel(CPU) == 0x2d || cpuid_getmodel(CPU) == 0x3e) && in mp_startup_common()
1937 if ((hdl = cmi_init(CMI_HDL_NATIVE, cmi_ntv_hwchipid(CPU), in mp_startup_common()
1938 cmi_ntv_hwcoreid(CPU), cmi_ntv_hwstrandid(CPU))) != NULL) { in mp_startup_common()
2139 CPU->cpu_m.mcpu_fast_syscall_state |= FSS_SEP_ENABLED; in cpu_sep_enable()
2154 CPU->cpu_m.mcpu_fast_syscall_state &= ~FSS_SEP_ENABLED; in cpu_sep_disable()
2166 CPU->cpu_m.mcpu_fast_syscall_state |= FSS_ASYSC_ENABLED; in cpu_asysc_enable()
2182 CPU->cpu_m.mcpu_fast_syscall_state &= ~FSS_ASYSC_ENABLED; in cpu_asysc_disable()