1*e13b1fa5SApple OSS Distributions<h2>processor_control</h2>
2*e13b1fa5SApple OSS Distributions<hr>
3*e13b1fa5SApple OSS Distributions<p>
4*e13b1fa5SApple OSS Distributions<strong>Function</strong> - Perform caller-specified operation on target processor. (Protected Interface.)
5*e13b1fa5SApple OSS Distributions<h3>SYNOPSIS</h3>
6*e13b1fa5SApple OSS Distributions<pre>
7*e13b1fa5SApple OSS Distributions<strong>kern_return_t	processor_control</strong>
8*e13b1fa5SApple OSS Distributions		<strong>(processor_t</strong>	<var>processor</var>,
9*e13b1fa5SApple OSS Distributions		<strong>processor_info_t</strong>	<var>cmd</var>,
10*e13b1fa5SApple OSS Distributions		<strong>mach_msg_type_number_t*</strong>	<var>count</var><strong>);</strong>
11*e13b1fa5SApple OSS Distributions</pre>
12*e13b1fa5SApple OSS Distributions<h3>PARAMETERS</h3>
13*e13b1fa5SApple OSS Distributions<dl>
14*e13b1fa5SApple OSS Distributions<dt> <var>processor</var>
15*e13b1fa5SApple OSS Distributions<dd>
16*e13b1fa5SApple OSS Distributions[in processor send right]
17*e13b1fa5SApple OSS DistributionsThe processor to be controlled.
18*e13b1fa5SApple OSS Distributions<dt> <var>cmd</var>
19*e13b1fa5SApple OSS Distributions<dd>
20*e13b1fa5SApple OSS Distributions[pointer to in array of natural-sized units]
21*e13b1fa5SApple OSS DistributionsAn array containing the
22*e13b1fa5SApple OSS Distributionscommand to be applied to the processor.
23*e13b1fa5SApple OSS Distributions<dt> <var>count</var>
24*e13b1fa5SApple OSS Distributions<dd>
25*e13b1fa5SApple OSS Distributions[in scalar]
26*e13b1fa5SApple OSS DistributionsThe size of the <var>cmd</var> array (in natural-sized units).
27*e13b1fa5SApple OSS Distributions</dl>
28*e13b1fa5SApple OSS Distributions<h3>DESCRIPTION</h3>
29*e13b1fa5SApple OSS Distributions<p>
30*e13b1fa5SApple OSS DistributionsThe <strong>processor_control</strong> function allows privileged software
31*e13b1fa5SApple OSS Distributionsto control a
32*e13b1fa5SApple OSS Distributionsprocessor in a multi-processor that so allows it.  The interpretation
33*e13b1fa5SApple OSS Distributionsof <var>cmd</var> is machine
34*e13b1fa5SApple OSS Distributionsdependent.
35*e13b1fa5SApple OSS Distributions<h3>NOTES</h3>
36*e13b1fa5SApple OSS Distributions<p>
37*e13b1fa5SApple OSS DistributionsThese operations are machine dependent.  They may do nothing.
38*e13b1fa5SApple OSS Distributions<h3>RETURN VALUES</h3>
39*e13b1fa5SApple OSS Distributions<dl>
40*e13b1fa5SApple OSS Distributions<dt> <strong>KERN_FAILURE</strong>
41*e13b1fa5SApple OSS Distributions<dd>
42*e13b1fa5SApple OSS DistributionsThe operation was not performed.  A likely reason is that it
43*e13b1fa5SApple OSS Distributionsis not supported on this processor.
44*e13b1fa5SApple OSS Distributions</dl>
45*e13b1fa5SApple OSS Distributions<h3>RELATED INFORMATION</h3>
46*e13b1fa5SApple OSS Distributions<p>
47*e13b1fa5SApple OSS DistributionsFunctions:
48*e13b1fa5SApple OSS Distributions<a href="processor_start.html">processor_start</a>,
49*e13b1fa5SApple OSS Distributions<a href="processor_exit.html">processor_exit</a>,
50*e13b1fa5SApple OSS Distributions<a href="processor_info.html">processor_info</a>,
51*e13b1fa5SApple OSS Distributions<a href="host_processors.html">host_processors</a>.
52