Searched refs:cpu_number (Results 1 - 25 of 90) sorted by relevance

1234

/xnu-2422.115.4/osfmk/i386/
H A Dcpu_number.h70 extern int cpu_number(void);
76 #define cpu_number() get_cpu_number() macro
H A Ducode.c14 #include <machine/cpu_number.h> // cpu_number
136 kprintf("ucode: Re-applying update after wake (CPU #%d)\n", cpu_number());
140 kprintf("ucode: No update to apply (CPU #%d)\n", cpu_number());
H A Dcpu_topology.c73 assert(cpu_number() == 0);
74 assert(cpu_datap(0)->cpu_number == 0);
114 if (cpup->cpu_number != i) {
118 cpup->cpu_number);
120 cpup->cpu_number = i;
196 TOPO_DBG("\tlcpu %d\n", cpu_datap(i)->cpu_number);
H A Dmp.c44 #include <kern/cpu_number.h>
341 start_info.target_cpu == cpu_number()) {
362 if (cpu_number() != psip->starter_cpu)
452 start_info.starter_cpu = cpu_number();
501 my_cpu = cpu_number();
579 if (cpu_number() == debugger_cpu)
584 snprintf(&pstr[0], sizeof(pstr), "Panic(CPU %d): NMIPI for spinlock acquisition timeout, spinlock: %p, spinlock owner: %p, current_thread: %p, spinlock_owner_cpu: 0x%x\n", cpu_number(), spinlock_timed_out, (void *) spinlock_timed_out->interlock.lock_data, current_thread(), spinlock_owner_cpu);
588 snprintf(&pstr[0], sizeof(pstr), "Panic(CPU %d): Unresponsive processor (this CPU did not acknowledge interrupts) TLB state:0x%x\n", cpu_number(), current_cpu_datap()->cpu_tlb_invalid);
682 if (cpu == cpu_number())
738 unsigned int my_cpu = cpu_number();
1717 #undef cpu_number macro
1718 int cpu_number(void) function
[all...]
H A DMakefile12 cpu_number.h \
H A Dacpi.c169 current_cpu_datap()->cpu_hibernate, cpu_number());
172 my_cpu = cpu_number();
366 cpu_number(), istate ? "enabled" : "disabled");
368 assert(cpu_number() == master_cpu);
H A Dmp_native.c96 DBGLOG(cpu_handle, cpu_number(), MP_TLB_FLUSH);
H A Dpmap_pcid.h80 int ccpu = cpu_number();
H A Dmp.h156 #define CPUMASK_SELF cpu_to_cpumask(cpu_number())
214 cpu_signal_event_log_t *logp = log[cpu_number()]; \
H A Dlapic_native.c36 #include <kern/cpu_number.h>
284 /* Set up the lapic_id <-> cpu_number map and add this boot processor */
508 if (lapic_error_time_threshold == 0 && cpu_number() == 0) {
543 if (((cpu_number() == master_cpu) && lapic_errors_masked == FALSE) ||
544 (cpu_number() != master_cpu)) {
773 cpu_number() != master_cpu) {
777 if (cpu_number() == master_cpu) {
H A Dmp_desc.c60 #include <kern/cpu_number.h>
463 cdi->cdi_gdt.ptr = (void *)CPU_GDT_ALIAS(cdp->cpu_number);
529 cdi->cdi_idt.size = 0x1000 + cdp->cpu_number;
646 cdp->cpu_number = real_ncpus;
655 cdp->cpu_number, cdp, cdp->cpu_desc_tablep, cdp->cpu_ldtp,
869 assert(cpu_number() == 0);
H A Dtrap_native.c174 (void)OSCompareAndSwap((UInt32) -1, (UInt32) cpu_number(), (volatile UInt32 *)&panic_double_fault_cpu);
/xnu-2422.115.4/osfmk/kern/
H A Dcpu_number.h68 #include <machine/cpu_number.h>
H A Dxpr.c64 #include <kern/cpu_number.h>
123 x->cpuinfo = cpu_number();
H A DMakefile19 cpu_number.h \
H A Dast.c73 #include <kern/cpu_number.h>
/xnu-2422.115.4/bsd/dev/i386/
H A Dkern_machdep.c39 #include <kern/cpu_number.h>
/xnu-2422.115.4/tools/tests/jitter/
H A DMakefile33 $(OBJROOT)/cpu_number.o: cpu_number.s
36 $(DSTROOT)/jitter: $(OBJROOT)/timer_jitter.o $(OBJROOT)/cpu_number.o
/xnu-2422.115.4/pexpert/i386/
H A Dpe_kprintf.c135 if (cpu_number() != cpu_last_locked) {
136 MP_DEBUG_KPRINTF("[cpu%d...]\n", cpu_number());
137 cpu_last_locked = cpu_number();
/xnu-2422.115.4/osfmk/chud/
H A Dchud_cpu.c69 return cpu_number();
/xnu-2422.115.4/osfmk/machine/
H A DMakefile13 cpu_number.h \
/xnu-2422.115.4/pexpert/pexpert/
H A Dprotos.h67 #include <kern/cpu_number.h>
/xnu-2422.115.4/osfmk/x86_64/
H A Dpmap_pcid.c63 int ccpu = cpu_number();
119 if (cpu_number() >= PMAP_PCID_MAX_CPUS) {
120 panic("PMAP_PCID_MAX_CPUS %d\n", cpu_number());
/xnu-2422.115.4/osfmk/kdp/ml/i386/
H A Dkdp_x86_common.c176 if ((lcpu != KDP_CURRENT_LCPU) && (lcpu != cpu_number())) {
279 if ((lcpu != KDP_CURRENT_LCPU) && (lcpu != cpu_number())) {
326 if ((lcpu != KDP_CURRENT_LCPU) && (lcpu != cpu_number())) {
355 if ((lcpu != KDP_CURRENT_LCPU) && (lcpu != cpu_number())) {
384 if ((lcpu != KDP_CURRENT_LCPU) && (lcpu != cpu_number())) {
398 if ((lcpu != KDP_CURRENT_LCPU) && (lcpu != cpu_number())) {
/xnu-2422.115.4/bsd/kern/
H A Dmach_fat.c35 #include <kern/cpu_number.h>

Completed in 73 milliseconds

1234