]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/host_processors.html
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / man / host_processors.html
CommitLineData
13fec989
A
1<h2>host_processors</h2>
2<hr>
3<p>
4<strong>Function</strong> - Return a list of send rights representing all processor ports.
5<h3>SYNOPSIS</h3>
6<pre>
7<strong>kern_return_t host_processors</strong>
8 <strong>(host_t</strong> <var>host_priv</var>,
9 <strong>processor_port_array_t</strong> <var>processor_list</var>,
10 <strong>host_priv</strong> <var>processor_count</var><strong>);</strong>
11</pre>
12<h3>PARAMETERS</h3>
13<dl>
14<p>
15<dt> <var>host_priv</var>
16<dd>
17[in host-control send right]
18The control port for the desired host.
19<p>
20<dt> <var>processor_list</var>
21<dd>
22[out pointer to dynamic array of processor send rights]
23The set of
24processors existing on <var>host_priv</var>; no particular order is guaranteed.
25<p>
26<dt> <var>processor_count</var>
27<dd>
28[out scalar]
29The number of ports returned in <var>processor_list</var>.
30</dl>
31<h3>DESCRIPTION</h3>
32<p>
33The <strong>host_processors</strong> function returns an array of send
34right ports for each
35processor existing on <var>host_priv</var>.
36<h3>RETURN VALUES</h3>
37<p>
38Only generic errors apply.
39<h3>RELATED INFORMATION</h3>
40<p>
41Functions:
42<a href="processor_start.html"><strong>processor_start</strong></a>,
43<a href="processor_exit.html"><strong>processor_exit</strong></a>,
44<a href="processor_info.html"><strong>processor_info</strong></a>,
45<a href="processor_control.html"><strong>processor_control</strong></a>,
46<a href="host_processor_slots.html"><strong>host_processor_slots</strong></a>.