osfmk/man/processor_control.html
Function - Perform caller-specified operation on target processor. (Protected Interface.)
**kern\_return\_t processor\_control**** (processor\_t **processor,** processor\_info\_t **cmd,** mach\_msg\_type\_number\_t\ ***count** );**
processor[in processor send right] The processor to be controlled. cmd[pointer to in array of natural-sized units] An array containing the command to be applied to the processor. count[in scalar] The size of the cmd array (in natural-sized units).
The processor_control function allows privileged software to control a processor in a multi-processor that so allows it. The interpretation of cmd is machine dependent.
These operations are machine dependent. They may do nothing.
KERN_FAILURE The operation was not performed. A likely reason is that it is not supported on this processor.
Functions: processor_start, processor_exit, processor_info, host_processors.