host_processors.html   [plain text]


<h2>host_processors</h2>
<hr>
<p>
<strong>Function</strong> - Return a list of send rights representing all processor ports.
<h3>SYNOPSIS</h3>
<pre>
<strong>kern_return_t   host_processors</strong>
                <strong>(host_t</strong>                               <var>host_priv</var>,
                 <strong>processor_port_array_t</strong>          <var>processor_list</var>,
                 <strong>host_priv</strong>                      <var>processor_count</var><strong>);</strong>
</pre>
<h3>PARAMETERS</h3>
<dl>
<p>
<dt> <var>host_priv</var> 
<dd>
[in host-control send right]
The control port for the desired host.
<p>
<dt> <var>processor_list</var> 
<dd>
[out pointer to dynamic array of processor send rights]
The set of
processors existing on <var>host_priv</var>; no particular order is guaranteed.
<p>
<dt> <var>processor_count</var> 
<dd>
[out scalar]
The number of ports returned in <var>processor_list</var>.
</dl>
<h3>DESCRIPTION</h3>
<p>
The <strong>host_processors</strong> function returns an array of send
right ports for each
processor existing on <var>host_priv</var>.
<h3>RETURN VALUES</h3>
<p>
Only generic errors apply.
<h3>RELATED INFORMATION</h3>
<p>
Functions:
<a href="processor_start.html"><strong>processor_start</strong></a>,
<a href="processor_exit.html"><strong>processor_exit</strong></a>,
<a href="processor_info.html"><strong>processor_info</strong></a>,
<a href="processor_control.html"><strong>processor_control</strong></a>,
<a href="host_processor_slots.html"><strong>host_processor_slots</strong></a>.