Lines Matching defs:cpu
45 #pragma mark **** cpu enable/disable ****
51 kern_return_t chudxnu_enable_cpu(int cpu, boolean_t enable)
55 if(cpu < 0 || (unsigned int)cpu >= real_ncpus) // sanity check
58 if((cpu_data_ptr[cpu] != NULL) && cpu != master_cpu) {
59 processor_t processor = cpu_to_processor(cpu);
90 chudxnu_get_cpu_interrupt_counters(int cpu, rupt_counters_t *rupts)
92 if(cpu < 0 || (unsigned int)cpu >= real_ncpus) { // sanity check
100 per_proc = cpu_data_ptr[cpu];
147 chudxnu_clear_cpu_interrupt_counters(int cpu)
149 if(cpu < 0 || (unsigned int)cpu >= real_ncpus) { // sanity check
154 per_proc = cpu_data_ptr[cpu];
165 chudxnu_get_cpu_rupt_counters(int cpu, rupt_counters_t *rupts)
167 return chudxnu_get_cpu_interrupt_counters(cpu, rupts);
172 chudxnu_clear_cpu_rupt_counters(int cpu)
174 return chudxnu_clear_cpu_interrupt_counters(cpu);