/xnu-2782.1.97/osfmk/i386/ |
H A D | cpu_number.h | 70 extern int cpu_number(void); 76 #define cpu_number() get_cpu_number() macro
|
H A D | ucode.c | 14 #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 D | cpu_topology.c | 73 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 D | mp.c | 44 #include <kern/cpu_number.h> 344 start_info.target_cpu == cpu_number()) { 365 if (cpu_number() != psip->starter_cpu) 455 start_info.starter_cpu = cpu_number(); 507 my_cpu = cpu_number(); 590 if (cpu_number() == debugger_cpu) 595 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); 599 snprintf(&pstr[0], sizeof(pstr), "Panic(CPU %d): Unresponsive processor, this CPU timed-out during cross-call\n", cpu_number()); 603 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); 715 if (cpu == cpu_number()) 1832 #undef cpu_number macro 1833 int cpu_number(void) function [all...] |
H A D | acpi.c | 172 current_cpu_datap()->cpu_hibernate, cpu_number()); 175 my_cpu = cpu_number(); 371 cpu_number(), istate ? "enabled" : "disabled"); 373 assert(cpu_number() == master_cpu);
|
H A D | mp_native.c | 97 DBGLOG(cpu_handle, cpu_number(), MP_TLB_FLUSH);
|
H A D | pmap_pcid.h | 80 int ccpu = cpu_number();
|
H A D | mp.h | 157 #define CPUMASK_SELF cpu_to_cpumask(cpu_number()) 222 cpu_signal_event_log_t *logp = log[cpu_number()]; \
|
H A D | Makefile | 13 cpu_number.h \
|
H A D | mp_desc.c | 60 #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; 658 cdp->cpu_active_thread = (thread_t) (uintptr_t) cdp->cpu_number; 665 cdp->cpu_number, cdp, cdp->cpu_desc_tablep, cdp->cpu_ldtp, 879 assert(cpu_number() == 0);
|
H A D | lapic_native.c | 36 #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 D | trap_native.c | 174 (void)OSCompareAndSwap((UInt32) -1, (UInt32) cpu_number(), (volatile UInt32 *)&panic_double_fault_cpu);
|
H A D | cpu_data.h | 116 * members - such as get_cpu_number()/cpu_number(), and get_active_thread()/ 120 * cpu_datap(cpu_number) macro which uses the cpu_data_ptr[] array of per-cpu 131 int cpu_number; /* Logical CPU */ member in struct:cpu_data 349 CPU_DATA_GET(cpu_number,int)
|
/xnu-2782.1.97/osfmk/kern/ |
H A D | cpu_number.h | 68 #include <machine/cpu_number.h>
|
H A D | xpr.c | 63 #include <kern/cpu_number.h> 122 x->cpuinfo = cpu_number();
|
H A D | Makefile | 23 cpu_number.h \
|
/xnu-2782.1.97/tools/tests/jitter/ |
H A D | Makefile | 33 $(OBJROOT)/cpu_number.o: cpu_number.s 36 $(DSTROOT)/jitter: $(OBJROOT)/timer_jitter.o $(OBJROOT)/cpu_number.o
|
/xnu-2782.1.97/pexpert/i386/ |
H A D | pe_kprintf.c | 135 if (cpu_number() != cpu_last_locked) { 136 MP_DEBUG_KPRINTF("[cpu%d...]\n", cpu_number()); 137 cpu_last_locked = cpu_number();
|
/xnu-2782.1.97/bsd/dev/i386/ |
H A D | kern_machdep.c | 39 #include <kern/cpu_number.h>
|
/xnu-2782.1.97/osfmk/chud/ |
H A D | chud_cpu.c | 69 return cpu_number();
|
/xnu-2782.1.97/osfmk/machine/ |
H A D | Makefile | 13 cpu_number.h \
|
/xnu-2782.1.97/pexpert/pexpert/ |
H A D | protos.h | 67 #include <kern/cpu_number.h>
|
/xnu-2782.1.97/osfmk/x86_64/ |
H A D | pmap_pcid.c | 63 int ccpu = cpu_number(); 119 if (cpu_number() >= PMAP_PCID_MAX_CPUS) { 120 panic("PMAP_PCID_MAX_CPUS %d\n", cpu_number());
|
/xnu-2782.1.97/osfmk/kdp/ml/i386/ |
H A D | kdp_x86_common.c | 176 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-2782.1.97/bsd/kern/ |
H A D | mach_fat.c | 35 #include <kern/cpu_number.h>
|