/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | processor_data.c | 29 * Machine independent per processor data. 34 #include <kern/processor.h> 39 processor_t processor) 41 (void)memset(&processor->processor_data, 0, sizeof (processor_data_t)); 43 timer_init(&PROCESSOR_DATA(processor, idle_state)); 44 timer_init(&PROCESSOR_DATA(processor, system_state)); 45 timer_init(&PROCESSOR_DATA(processor, user_state)); 38 processor_data_init( processor_t processor) argument
|
H A D | machine.c | 85 #include <kern/processor.h> 104 processor_t processor); 109 * Flag processor as up and running, and available 114 processor_t processor) 120 init_ast_check(processor); 121 pset = processor->processor_set; 124 pset->low_pri = pset->low_count = processor; 125 enqueue_tail(&pset->active_queue, (queue_entry_t)processor); 126 processor->state = PROCESSOR_RUNNING; 160 __unused processor_t processor, 113 processor_up( processor_t processor) argument 159 processor_assign( __unused processor_t processor, __unused processor_set_t new_pset, __unused boolean_t wait) argument 168 processor_shutdown( processor_t processor) argument 238 processor_doshutdown( processor_t processor) argument 277 processor_offline( processor_t processor) argument [all...] |
H A D | machine.h | 44 processor_t processor); 47 processor_t processor); 57 processor_t processor); 61 processor_t processor); 89 processor_t processor); 94 processor_t processor);
|
H A D | sched_prim.c | 91 #include <kern/processor.h> 159 processor_t processor); 163 processor_t processor); 169 processor_t processor); 497 * Signal if idling on another processor. 500 processor_t processor = thread->last_processor; local 502 if (processor != current_processor()) 503 machine_signal_idle(processor); 906 processor_t processor = thread->last_processor; local 908 if (processor ! 999 processor_t processor = thread->last_processor; local 1141 thread_bind( processor_t processor) argument 1168 thread_select( thread_t thread, processor_t processor) argument 1362 thread_select_idle( thread_t thread, processor_t processor) argument 1474 processor_t processor; local 1658 processor_t processor = self->last_processor; local 1808 register processor_t processor; local 1888 processor_t processor = current_processor(); local 2054 realtime_setrun( processor_t processor, thread_t thread) argument 2100 processor_enqueue( processor_t processor, thread_t thread, integer_t options) argument 2142 processor_setrun( processor_t processor, thread_t thread, integer_t options) argument 2243 processor_t processor = thread->last_processor; local 2386 processor_t processor; local 2488 processor_queue_shutdown( processor_t processor) argument 2547 csw_check( processor_t processor) argument 2624 processor_t processor = thread->last_processor; local 2682 processor_t processor = thread->runq; local 2754 steal_processor_thread( processor_t processor) argument 2807 processor_t processor; local 2851 processor_idle( thread_t thread, processor_t processor) argument 2975 processor_t processor = current_processor(); local 2989 idle_thread_create( processor_t processor) argument 3189 processor_t processor = processor_list; local [all...] |
H A D | processor_data.h | 29 * Machine independent per processor data. 36 * #include kern/processor.h instead of this file. 79 #define PROCESSOR_DATA(processor, member) \ 80 (processor)->processor_data.member 83 processor_t processor);
|
H A D | startup.c | 86 #include <kern/processor.h> 228 processor_t processor = current_processor(); local 233 * Create the idle processor thread. 235 idle_thread_create(processor); 247 * Remain on current processor as 251 thread_bind(processor); 279 * Create and initialize the physical copy window for processor 0 293 * Create and initialize the copy window for processor 0 296 * must be after IOKit has been started because IOKit performs processor 338 * Load the first thread to start a processor 343 processor_t processor = current_processor(); local 374 processor_t processor = current_processor(); local 399 processor_t processor = current_processor(); local [all...] |
H A D | processor.c | 60 * processor.c: processor and processor_set manipulation routines. 65 #include <mach/processor.h> 72 #include <kern/processor.h> 134 * Initialize the given processor for the cpu 136 * specified processor set. 140 processor_t processor, 144 run_queue_init(&processor->runq); 146 processor->state = PROCESSOR_OFF_LINE; 147 processor 139 processor_init( processor_t processor, int cpu_num, processor_set_t pset) argument 170 processor_pset( processor_t processor) argument 248 processor_info( register processor_t processor, processor_flavor_t flavor, host_t *host, processor_info_t info, mach_msg_type_number_t *count) argument 324 processor_start( processor_t processor) argument 427 processor_exit( processor_t processor) argument 437 processor_control( processor_t processor, processor_info_t info, mach_msg_type_number_t count) argument 465 processor_get_assignment( processor_t processor, processor_set_t *pset) argument [all...] |
H A D | ast.c | 78 #include <kern/processor.h> 103 * CHUD hook - all threads including idle processor threads 122 * except idle processor threads. 186 processor_t processor) 188 thread_t thread = processor->active_thread; 190 processor->current_pri = thread->sched_pri; 191 if ( processor->state == PROCESSOR_RUNNING || 192 processor->state == PROCESSOR_SHUTDOWN ) { 196 * Propagate thread ast to processor. 203 if ((preempt = csw_check(processor)) ! 185 ast_check( processor_t processor) argument [all...] |
H A D | ipc_host.h | 68 /* Initialize ipc access to processor by allocating a port */ 70 processor_t processor); 72 /* Enable ipc control of processor by setting port object */ 74 processor_t processor); 76 /* Initialize ipc control of a processor set */ 80 /* Enable ipc access to a processor set */ 128 /* Convert from a port to a processor */ 132 /* Convert from a processor to a port */ 134 processor_t processor); 136 /* Convert from a port to a processor se [all...] |
H A D | host.c | 74 #include <mach/processor.h> 87 #include <kern/processor.h> 99 register processor_t processor, *tp; local 116 *tp++ = processor = processor_list; 122 *tp++ = processor = processor->processor_list; 292 register processor_t processor; local 300 processor = processor_list; 301 stat = &PROCESSOR_DATA(processor, vm_stat); 307 while ((processor 362 register processor_t processor; local 526 processor_t processor; local [all...] |
H A D | host_statistics.h | 43 #include <kern/processor.h>
|
H A D | priority.c | 74 #include <kern/processor.h> 90 processor_t processor = p0; local 102 new_computation = processor->quantum_end; 134 * during contention for processor 152 processor->current_pri = thread->sched_pri; 157 if (first_timeslice(processor)) 158 processor->timeslice--; 161 processor->quantum_end += thread->current_quantum; 162 timer_call_enter1(&processor->quantum_timer, 163 thread, processor [all...] |
H A D | ipc_host.c | 69 #include <kern/processor.h> 86 processor_t processor); 90 processor_t processor); 141 * Set up ipc for default processor set. 147 * And for master processor 179 * Initialize ipc access to processor by allocating port. 184 processor_t processor) 191 processor->processor_self = port; 197 * Enable ipc control of processor by setting port object. 201 processor_t processor) 183 ipc_processor_init( processor_t processor) argument 200 ipc_processor_enable( processor_t processor) argument 215 ipc_processor_disable( processor_t processor) argument 232 ipc_processor_terminate( processor_t processor) argument 376 processor_t processor = PROCESSOR_NULL; local 488 convert_processor_to_port( processor_t processor) argument [all...] |
H A D | mach_clock.c | 78 #include <kern/processor.h> 91 * Hertz rate clock interrupt servicing. Used to update processor 108 processor_t processor = current_processor(); local 115 state = &PROCESSOR_DATA(processor, user_state); 123 if (processor->state == PROCESSOR_IDLE) 124 state = &PROCESSOR_DATA(processor, idle_state); 126 state = &PROCESSOR_DATA(processor, system_state);
|
H A D | timer.c | 65 #include <kern/processor.h> 166 processor_t processor = current_processor(); local 172 timer = PROCESSOR_DATA(processor, thread_timer); 178 PROCESSOR_DATA(processor, thread_timer) = new_timer;
|
H A D | affinity.h | 32 #include <kern/processor.h> 49 processor_set_t aset_pset; /* processor set */
|
H A D | sched.h | 179 #define first_timeslice(processor) ((processor)->timeslice > 0) 200 timer_call_param_t processor, 203 /* Context switch check for current processor */ 204 extern ast_t csw_check(processor_t processor);
|
H A D | processor.h | 60 * processor.h: Processor and processor-related definitions. 118 struct processor { struct 123 *active_thread, /* thread running on processor */ 125 *idle_thread; /* this processor's idle thread. */ 139 struct run_queue runq; /* runq for this processor */ 145 processor_data_t processor_data; /* per-processor data */ 158 * for the assigned processor set. 210 processor_t processor, 215 processor_t processor); [all...] |
H A D | thread_act.c | 74 #include <kern/processor.h> 684 processor_t processor = thread->last_processor; local 686 if ( processor != PROCESSOR_NULL && 687 processor->state == PROCESSOR_RUNNING && 688 processor->active_thread == thread ) 689 cause_ast_check(processor); 858 processor_t processor; local 862 processor = thread->last_processor; 863 if ( processor != PROCESSOR_NULL && 864 processor 884 processor_t processor; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/libsyscall/mach/headers/ |
H A D | mach_interface.h | 47 #include <mach/processor.h>
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/i386/ |
H A D | chud_cpu_i386.c | 33 #include <kern/processor.h> 47 extern kern_return_t processor_start(processor_t processor); // osfmk/kern/processor.c 48 extern kern_return_t processor_exit(processor_t processor); // osfmk/kern/processor.c 59 processor_t processor = cpu_to_processor(cpu); local 61 if(processor == master_processor) // don't mess with the boot processor 65 return processor_start(processor); 67 return processor_exit(processor); [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/ |
H A D | db_task_thread.h | 64 #include <kern/processor.h>
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/ |
H A D | mach_interface.h | 44 #include <mach/processor.h>
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | aligned_data.s | 64 EXT(PerProcTable): ; Per processor table 69 EXT(BootProcInfo): ; Per processor data area 178 * Boot processor Interrupt and debug stacks go here.
|
H A D | machine_routines.c | 45 #include <kern/processor.h> 368 processor_t processor) 372 proc_info = PROCESSOR_TO_PER_PROC(processor); 443 (void)hw_atomic_add(&saveanchor.savetarget, FreeListMin); /* saveareas for this processor */ 444 processor_init((struct processor *)proc_info->processor, 448 *processor_out = (struct processor *)proc_info->processor; 480 if(proc_info->pf.Available & pfCanNap) { /* Can the processor nap? */ 773 __unused processor_t processor) 367 machine_signal_idle( processor_t processor) argument 772 init_ast_check( __unused processor_t processor) argument 781 cause_ast_check( processor_t processor) argument 798 machine_processor_shutdown( __unused thread_t thread, __unused void (*doshutdown)(processor_t), __unused processor_t processor) argument [all...] |