Lines Matching refs:processor
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)
205 myport = processor->processor_self;
206 ipc_kobject_set(myport, (ipc_kobject_t) processor, IKOT_PROCESSOR);
212 * Disable ipc control of processor by clearing port object.
216 processor_t processor)
220 myport = processor->processor_self;
233 processor_t processor)
239 processor_lock(processor);
240 myport = processor->processor_self;
242 processor_unlock(processor);
247 processor->processor_self = IP_NULL;
248 processor_unlock(processor);
257 * Initialize ipc control of a processor set by allocating its ports.
280 * Enable ipc access to a processor set.
365 * Convert from a port to a processor.
367 * the processor produced may be null.
376 processor_t processor = PROCESSOR_NULL;
382 processor = (processor_t) port->ip_kobject;
386 return processor;
481 * Convert from a processor to a port.
489 processor_t processor)
495 processor_lock(processor);
497 if (processor->processor_self != IP_NULL)
498 port = ipc_port_make_send(processor->processor_self);
502 processor_unlock(processor);