processor_control.html   [plain text]

<strong>Function</strong> - Perform caller-specified operation on target processor. (Protected Interface.)
<strong>kern_return_t	processor_control</strong>
		<strong>(processor_t</strong>	<var>processor</var>,
		<strong>processor_info_t</strong>	<var>cmd</var>,
		<strong>mach_msg_type_number_t*</strong>	<var>count</var><strong>);</strong>
<dt> <var>processor</var> 
[in processor send right]
The processor to be controlled.
<dt> <var>cmd</var> 
[pointer to in array of natural-sized units]
An array containing the
command to be applied to the processor.
<dt> <var>count</var> 
[in scalar]
The size of the <var>cmd</var> array (in natural-sized units).
The <strong>processor_control</strong> function allows privileged software
to control a
processor in a multi-processor that so allows it.  The interpretation
of <var>cmd</var> is machine 
These operations are machine dependent.  They may do nothing.
<dt> <strong>KERN_FAILURE</strong>
The operation was not performed.  A likely reason is that it
is not supported on this processor.
<a href="processor_start.html">processor_start</a>,
<a href="processor_exit.html">processor_exit</a>,
<a href="processor_info.html">processor_info</a>,
<a href="host_processors.html">host_processors</a>.