]> git.saurik.com Git - apple/xnu.git/blob - osfmk/man/host_processor_set_priv.html
xnu-1504.3.12.tar.gz
[apple/xnu.git] / osfmk / man / host_processor_set_priv.html
1 <h2>host_processor_set_priv</h2>
2 <hr>
3 <p>
4 <strong>Function</strong> - Translate a processor set name port
5 into a processor set control port.
6 <h3>SYNOPSIS</h3>
7 <pre>
8 <strong>kern_return_t host_processor_set_priv</strong>
9 <strong>(host_priv_t</strong> <var>host_priv</var>,
10 <strong>processor_set_name_t</strong> <var>set_name</var>,
11 <strong>processor_set_t</strong> <var>processor_set</var><strong>);</strong>
12 </pre>
13 <h3>PARAMETERS</h3>
14 <dl>
15 <p>
16 <dt> <var>host_priv</var>
17 <dd>
18 [in host-control send right]
19 The control port for the host for which the
20 processor set is desired.
21 <p>
22 <dt> <var>set_name</var>
23 <dd>
24 [in processor-set-name send right]
25 The name port for the processor set
26 desired.
27 <p>
28 <dt> <var>processor_set</var>
29 <dd>
30 [out processor-set-control send right]
31 The returned processor set
32 control port.
33 </dl>
34 <h3>DESCRIPTION</h3>
35 <p>
36 The <strong>host_processor_set_priv</strong> function returns send rights
37 for the control port
38 for a specified processor set currently existing on <var>host_priv</var>.
39 <h3>RETURN VALUES</h3>
40 <p>
41 Only generic errors apply.
42 <h3>RELATED INFORMATION</h3>
43 <p>
44 Functions:
45 <a href="host_processor_sets.html"><strong>host_processor_sets</strong></a>,
46 <a href="processor_set_create.html"><strong>processor_set_create</strong></a>,
47 <a href="processor_set_tasks.html"><strong>processor_set_tasks</strong></a>,
48 <a href="processor_set_threads.html"><strong>processor_set_threads</strong></a>.