1 <h2>processor_info
</h2>
4 <strong>Function
</strong> - Return information about a processor.
7 <strong>kern_return_t processor_info
</strong>
8 <strong>(processor_t
</strong> <var>processor
</var>,
9 <strong>processor_flavor_t
</strong> <var>flavor
</var>,
10 <strong>host_t
</strong> <var>host
</var>,
11 <strong>processor_info_t
</strong> <var>processor_info
</var>,
12 <strong>mach_msg_type_number_t
</strong> <var>processor_info_count
</var><strong>);
</strong>
16 <dt> <var>processor
</var>
18 [in processor send right]
19 A processor port for which information is
21 <dt> <var>flavor
</var>
24 The type of information requested.
26 <dt> <strong>PROCESSOR_BASIC_INFO
</strong>
28 Basic information, slot number, running status, etc. The
29 returned structure is
<strong>processor_basic_info
</strong>.
33 [out host-name send right]
34 The host on which the processor resides.
35 This is the host name port.
36 <dt> <var>processor_info
</var>
39 Information about the processor.
40 <dt> <var>processor_info_count
</var>
43 On input, the maximum size of the buffer; on output, the
44 size returned (in natural-sized units).
48 The
<strong>processor_info
</strong> function returns selected information
49 for a processor, as specified by
<var>flavor
</var>.
50 <h3>RETURN VALUES
</h3>
52 Only generic errors apply.
53 <h3>RELATED INFORMATION
</h3>
56 <a href=
"processor_start.html">processor_start
</a>,
57 <a href=
"processor_exit.html">processor_exit
</a>,
58 <a href=
"processor_control.html">processor_control
</a>,
59 <a href=
"host_processors.html">host_processors
</a>.
62 <a href=
"processor_basic_info.html">processor_basic_info
</a>.