Searched refs:cpuid (Results 1 - 25 of 281) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/sun4/sys/
H A Dcmp.h38 extern int cmp_cpu_is_cmp(processorid_t cpuid);
39 extern void cmp_add_cpu(chipid_t chipid, processorid_t cpuid);
40 extern void cmp_delete_cpu(processorid_t cpuid);
42 extern chipid_t cmp_cpu_to_chip(processorid_t cpuid);
H A Dcpu_sgnblk_defs.h119 #define CPU_SIGNATURE(sig, state, sub_state, cpuid) \
122 (*cpu_sgn_func)((sig), (state), (sub_state), (cpuid)); \
139 #define CPU_SGN_MAPIN(cpuid) cpu_sgn_mapin(cpuid)
140 #define CPU_SGN_MAPOUT(cpuid) cpu_sgn_mapout(cpuid)
141 #define CPU_SGN_EXISTS(cpuid) cpu_sgn_exists(cpuid)
142 #define SGN_CPU_IS_OS(cpuid) (get_cpu_sgn(cpuid)
[all...]
H A Dxc_impl.h58 #define XT_SYNC_ONE(cpuid) \
61 CPUSET_ONLY(set, cpuid); \
72 #define XT_SYNC_ONE(cpuid) \
75 send_one_mondo(cpuid); \
90 #define XC_SPL_ENTER(cpuid, opl) \
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, op
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/buffering/
H A Dtst.ring3.d61 cpuid = -1;
65 /cpuid == -1/
67 cpuid = curthread->t_cpu->cpu_id;
71 /curthread->t_cpu->cpu_id == cpuid && n < 100/
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_mp_startup.c44 int cpuid = cp->cpu_id; local
45 struct cpu_node *cpunode = &cpunodes[cpuid];
70 CPU_SGN_MAPIN(cpuid);
71 if (cpuid == cpu0.cpu_id) {
77 CPU_SIGNATURE(OS_SIG, SIGST_RUN, SIGSUBST_NULL, cpuid);
79 cpuid = cpuid;
89 mp_cpu_unconfigure(int cpuid) argument
97 retval = cleanup_cpu_common(cpuid);
99 empty_cpu(cpuid);
105 int cpuid; /* set by mp_cpu_configure() */ member in struct:mp_find_cpu_arg
116 int cpuid; local
147 mp_cpu_configure(int cpuid) argument
[all...]
H A Dcmp.c48 * Returns 1 if cpuid is CMP-capable, 0 otherwise.
51 cmp_cpu_is_cmp(processorid_t cpuid) argument
56 chipid = cpunodes[cpuid].portid;
61 * Indicate that this core (cpuid) resides on the chip indicated by chipid.
65 cmp_add_cpu(chipid_t chipid, processorid_t cpuid) argument
67 CPUSET_ADD(chips[chipid], cpuid);
71 * Indicate that this core (cpuid) is being DR removed.
74 cmp_delete_cpu(processorid_t cpuid) argument
79 chipid = cpunodes[cpuid].portid;
80 CPUSET_DEL(chips[chipid], cpuid);
91 cmp_error_resteer(processorid_t cpuid) argument
130 cmp_cpu_to_chip(processorid_t cpuid) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_mp_startup.c49 int cpuid = cp->cpu_id; local
50 struct cpu_node *cpunode = &cpunodes[cpuid];
75 CPU_SGN_MAPIN(cpuid);
85 if (cpuid == cpu0.cpu_id && ncpus == 1 && cpu_list[0].cpu_id == cpuid) {
91 CPU_SIGNATURE(OS_SIG, SIGST_RUN, SIGSUBST_NULL, cpuid);
98 cpuid = cpuid;
108 mp_cpu_unconfigure(int cpuid) argument
116 retval = cleanup_cpu_common(cpuid);
126 int cpuid; /* set by mp_cpu_configure() */ member in struct:mp_find_cpu_arg
136 int cpuid; local
171 mp_cpu_configure(int cpuid) argument
[all...]
H A Dmach_mp_states.c61 * Stop a CPU based on its cpuid, using the cpu_stop hypervisor call.
73 stopcpu_bycpuid(int cpuid) argument
89 if (hv_cpu_state(cpuid, &state) != H_EOK)
133 if ((rv = hv_cpu_stop(cpuid)) != H_EWOULDBLOCK)
148 if (hv_cpu_state(cpuid, &state) != H_EOK)
171 processorid_t cpuid = cpup->cpu_id; local
186 xt_one_unchecked(cpuid, (xcfunc_t *)cpu_intrq_unregister_powerdown,
208 cpuid);
221 processorid_t cpuid = cp->cpu_id; local
253 if ((status = stopcpu_bycpuid(cpuid)) !
[all...]
H A Dcmp.c37 * Returns 1 if cpuid is CMP-capable, 0 otherwise.
41 cmp_cpu_is_cmp(processorid_t cpuid) argument
47 * Indicate that this core (cpuid) resides on the chip indicated by chipid.
52 cmp_add_cpu(chipid_t chipid, processorid_t cpuid) argument
57 * Indicate that this core (cpuid) is being DR removed.
61 cmp_delete_cpu(processorid_t cpuid) argument
66 * Called when cpuid is being onlined or offlined. If the offlined
73 cmp_error_resteer(processorid_t cpuid) argument
84 cmp_cpu_to_chip(processorid_t cpuid) argument
86 return (cpu[cpuid]
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/datapath-retire/
H A Dcda_cpu.c41 cda_cpu_offline(fmd_hdl_t *hdl, uint_t cpuid, int cpustate) argument
47 if (p_online(cpuid, cpustate) != -1) {
48 fmd_hdl_debug(hdl, "offlined cpu %u\n", cpuid);
54 fmd_hdl_debug(hdl, "failed to offline %u: %s\n", cpuid,
64 uint_t cpuid; local
88 cpuid = atoi(id);
91 "CPU %u\n", cpuid);
99 cda_cpu_offline(hdl, cpuid, cpustate);
/illumos-gate/usr/src/uts/sun4/os/
H A Dmp_startup.c97 common_startup_init(cpu_t *cp, int cpuid) argument
124 CPUSET_ADD(sfmmup->sfmmu_cpusran, cpuid);
133 cp->cpu_id = cpuid;
158 cold_flag_set(int cpuid) argument
164 cp = cpu[cpuid];
176 warm_flag_set(int cpuid) argument
185 cp = cpu[cpuid];
211 start_cpu(int cpuid, void(*flag_func)(int)) argument
226 CPUSET_DEL(proxy_ready_set, cpuid);
227 if (prom_test("SUNW,start-cpu-by-cpuid")
279 setup_cpu_common(int cpuid) argument
437 cleanup_cpu_common(int cpuid) argument
543 restart_other_cpu(int cpuid) argument
682 int cpuid; local
[all...]
/illumos-gate/usr/src/psm/promif/ieee1275/sun4u/
H A Dprom_starfire.c39 * computed from cpuid. All of the cpus on the board are
44 prom_starfire_add_brd(uint_t cpuid) argument
52 ci[3] = p1275_uint2cell(cpuid);
86 * cpu represented by cpuid. This operation has no effect on
90 prom_starfire_add_cpu(uint_t cpuid) argument
97 ci[3] = p1275_uint2cell(cpuid);
106 * represented by cpuid.
109 prom_starfire_rm_cpu(uint_t cpuid) argument
116 ci[3] = p1275_uint2cell(cpuid);
124 * Mark the cpu represented by cpuid a
128 prom_starfire_move_cpu0(uint_t cpuid) argument
152 prom_starfire_init_console(uint_t cpuid) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/serengeti/os/
H A Dsg_unum.c67 * Generate the unum for the specified cpuid and physical address. Put the
74 sg_get_ecacheunum(int cpuid, uint64_t physaddr, char *buf, uint_t buflen, argument
77 int node = SG_PORTID_TO_NODEID(cpuid);
78 int board = SG_CPU_BD_PORTID_TO_BD_NUM(cpuid);
79 int proc = SG_PORTID_TO_CPU_POSN(cpuid);
84 * an invalid cpuid is passed in.
/illumos-gate/usr/src/uts/sun4u/starfire/os/
H A Dcpu_sgnblk.c65 cpu_sgn_mapin(int cpuid) argument
74 ASSERT(cpu_sgnblkp[cpuid] == NULL);
81 STARFIRE_UPAID2UPS(cpuid) | STARFIRE_PSI_BASE;
93 if (cpuid & 0x1) {
121 cpu_sgnblkp[cpuid] = ((cpu_sgnblk_t *)(cvaddr +
126 cpu_sgn_mapout(int cpuid) argument
133 if ((cvaddr = (ulong_t)cpu_sgnblkp[cpuid]) == NULL) {
135 "cpu_sgnblkp[%d] = NULL\n", cpuid);
143 bbsram_physaddr = STARFIRE_UPAID2UPS(cpuid) |
157 if (cpuid
[all...]
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_dpi_isadep.c48 kmdb_dpi_handle_fault(kreg_t tt, kreg_t tpc, kreg_t tnpc, kreg_t sp, int cpuid) argument
75 kmdb_fault(tt, tpc, sp, cpuid);
91 kmdb_dpi_get_rwin(int cpuid, int win, struct rwindow *rwin) argument
93 return (mdb.m_dpi->dpo_get_rwin(cpuid, win, rwin));
97 kmdb_dpi_get_nwin(int cpuid) argument
99 return (mdb.m_dpi->dpo_get_nwin(cpuid));
103 kmdb_dpi_kernpanic(int cpuid) argument
105 mdb.m_dpi->dpo_kernpanic(cpuid);
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_cpuctl.c33 prom_stopcpu_bycpuid(int cpuid) argument
37 ci[0] = p1275_ptr2cell("SUNW,stop-cpu-by-cpuid"); /* Service name */
40 ci[3] = p1275_int2cell(cpuid); /* Arg1: cpuid to stop */
60 ci[5] = p1275_int2cell(arg); /* Arg3: cpuid */
70 prom_startcpu_bycpuid(int cpuid, caddr_t pc, int arg) argument
74 ci[0] = p1275_ptr2cell("SUNW,start-cpu-by-cpuid"); /* Service name */
77 ci[3] = p1275_int2cell(cpuid); /* Arg1: cpuid to start */
79 ci[5] = p1275_int2cell(arg); /* Arg3: cpuid */
131 prom_hotaddcpu(int cpuid) argument
148 prom_hotremovecpu(int cpuid) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/
H A Dsgsgn.h71 #define SG_SGNBLK_CPUSIG_OFFSET(cpuid) \
72 (offsetof(sg_sgnblk_t, cpusig) + (cpuid)*sizeof (uint32_t))
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_cpu.c88 int cpuid; local
97 cpuid = p1275_cell2int(ci[3]);
106 lpp = lpad_setup(cpuid, (uint64_t)pc, (uint64_t)arg);
112 rv = hv_cpu_start(cpuid, va_to_pa(pc), rtba, cpuid);
116 cpuid, rv);
/illumos-gate/usr/src/cmd/fm/schemes/cpu/
H A Dcpu.c65 * Determine if a cpuid is present.
69 cpu_cpuid_present(uint32_t cpuid) argument
73 * For SPARC, use kstats to see if the cpuid is present.
80 ksp = kstat_lookup(kc, "cpu_info", cpuid, NULL);
92 cpu_get_serialid_kstat(uint32_t cpuid, uint64_t *serialidp) argument
102 if ((ksp = kstat_lookup(kc, "cpu_info", cpuid, NULL)) == NULL) {
126 cpu_get_serialid_V1(uint32_t cpuid, char *serbuf, size_t len) argument
131 err = cpu_get_serialid_kstat(cpuid, &serial);
138 cpu_get_serialid_V0(uint32_t cpuid, uint64_t *serialidp) argument
140 return (cpu_get_serialid_kstat(cpuid, serialid
147 uint32_t cpuid; local
206 uint32_t cpuid; local
259 uint32_t cpuid; local
318 uint32_t cpuid; local
[all...]
/illumos-gate/usr/src/cmd/mdb/intel/mdb/
H A Dkvm_isadep.c105 kt_kvmregs(mdb_tgt_t *t, uint_t cpuid, mdb_tgt_gregset_t *kregs) argument
111 if ((ret = kt->k_kb_ops->kb_getmregs(kt->k_cookie, cpuid, &mregs)) != 0)
134 intptr_t cpuid = 0; local
139 if ((cpuid = kt_cpu2cpuid(addr)) < 0) {
141 mdb_warn("failed to find cpuid for cpu at %p", addr);
149 'c', MDB_OPT_UINTPTR, &cpuid,
156 if (kt_kvmregs(t, cpuid, &regs) != 0) {
157 mdb_warn("failed to get regs for cpu %d\n", cpuid);
179 intptr_t cpuid = 0; local
185 if ((cpuid
[all...]
/illumos-gate/usr/src/cmd/powertop/common/
H A Dutil.c87 int cpuid; local
102 for (cpuid = 0; cpuid < max; cpuid++) {
103 if (p_online(cpuid, P_STATUS) != -1) {
104 g_cpu_table[ncpus] = cpuid;
/illumos-gate/usr/src/cmd/mdb/intel/ia32/kmdb/
H A Dkvm_cpu_p6.c56 kmt_p6_branch(uint_t cpuid, const char *label, uint_t msr) argument
61 addr = (uintptr_t)kmdb_dpi_msr_get_by_cpu(cpuid, msr);
74 intptr_t cpuid = DPI_MASTER_CPUID; local
77 'c', MDB_OPT_UINTPTR, &cpuid,
81 kmt_p6_branch(cpuid, "LastBranchToIP ", MSR_LBR_TO);
82 kmt_p6_branch(cpuid, "LastBranchFromIP ", MSR_LBR_FROM);
83 kmt_p6_branch(cpuid, "LastExceptionToIP ", MSR_LEX_TO);
84 kmt_p6_branch(cpuid, "LastExceptionFromIP", MSR_LEX_FROM);
/illumos-gate/usr/src/cmd/fm/eversholt/files/sparc/SUNW,Sun-Fire-15000/
H A DSUNW,Sun-Fire-15000.esc49 prop fault.io.datapath@cpu[cpuid] (0)->
52 ((cpuid >> 5) & AGENT_ID_MASK)},
55 ((cpuid >> 5) & AGENT_ID_MASK)},
58 ((cpuid >> 5) & AGENT_ID_MASK)},
59 ereport.io.cpu.ecc.thresh@cpu[cpuid];
72 prop upset.io.datapath@cpu[cpuid] (0)->
75 ((cpuid >> 5) & AGENT_ID_MASK)},
78 ((cpuid >> 5) & AGENT_ID_MASK)},
81 ((cpuid >> 5) & AGENT_ID_MASK)};
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Dscosmb.c133 uint16_t cpuid; /* Safari ID of base CPU */ member in struct:__anon9999
285 * Checks cpu implementation for the input cpuid and returns
290 dp_get_cores(uint16_t cpuid) argument
294 exp = STARCAT_CPUID_TO_EXPANDER(cpuid);
295 slot = STARCAT_CPUID_TO_BOARDSLOT(cpuid);
330 uint16_t *dparray, cpuid; local
334 ncores = dp_get_cores(dpmsg->cpuid);
363 * SC-DE supplies the base cpuid affected, if
390 exp = STARCAT_CPUID_TO_EXPANDER(dpmsg->cpuid);
391 slot = STARCAT_CPUID_TO_BOARDSLOT(dpmsg->cpuid);
[all...]
/illumos-gate/usr/src/uts/intel/ia32/os/
H A Dcpc_subr.c79 kcpc_cpu_setup(cpu_setup_t what, int cpuid, void *arg) argument
98 chip_pg = (pg_cmt_t *)pghw_find_pg(cpu[cpuid], PGHW_CHIP);
117 struct cpuid_regs cpuid; local
129 cpuid.cp_eax = 0x0;
130 (void) __cpuid_insn(&cpuid);
131 if (cpuid.cp_eax < 0xa) {
134 cpuid.cp_eax = 0xa;
135 (void) __cpuid_insn(&cpuid);
137 versionid = cpuid.cp_eax & 0xFF;
194 kcpc_hw_cpu_hook(processorid_t cpuid, ulong_ argument
[all...]

Completed in 99 milliseconds

1234567891011>>