xref: /xnu-10063.121.3/osfmk/man/processor_basic_info.html (revision 2c2f96dc2b9a4408a43d3150ae9c105355ca3daa)
1*2c2f96dcSApple OSS Distributions<h2>processor_basic_info</h2>
2*2c2f96dcSApple OSS Distributions<hr>
3*2c2f96dcSApple OSS Distributions<p>
4*2c2f96dcSApple OSS Distributions<strong>Structure</strong> - Defines the basic information about a processor.
5*2c2f96dcSApple OSS Distributions<h3>SYNOPSIS</h3>
6*2c2f96dcSApple OSS Distributions<pre>
7*2c2f96dcSApple OSS Distributions<strong>struct processor_basic_info</strong>
8*2c2f96dcSApple OSS Distributions<strong>{</strong>
9*2c2f96dcSApple OSS Distributions       <strong>cpu_type_t</strong>        <var>cpu_type</var><strong>;</strong>
10*2c2f96dcSApple OSS Distributions       <strong>cpu_subtype_t</strong>  <var>cpu_subtype</var><strong>;</strong>
11*2c2f96dcSApple OSS Distributions       <strong>boolean_t</strong>          <var>running</var><strong>;</strong>
12*2c2f96dcSApple OSS Distributions       <strong>int</strong>               <var>slot_num</var><strong>;</strong>
13*2c2f96dcSApple OSS Distributions       <strong>boolean_t</strong>        <var>is_master</var><strong>;</strong>
14*2c2f96dcSApple OSS Distributions<strong>};</strong>
15*2c2f96dcSApple OSS Distributions
16*2c2f96dcSApple OSS Distributions<strong>typedef struct processor_basic_info* processor_basic_info_t;</strong>
17*2c2f96dcSApple OSS Distributions</pre>
18*2c2f96dcSApple OSS Distributions<h3>FIELDS</h3>
19*2c2f96dcSApple OSS Distributions<dl>
20*2c2f96dcSApple OSS Distributions<dt> <var>cpu_type</var>
21*2c2f96dcSApple OSS Distributions<dd>
22*2c2f96dcSApple OSS DistributionsType of CPU
23*2c2f96dcSApple OSS Distributions<p>
24*2c2f96dcSApple OSS Distributions<dt> <var>cpu_subtype</var>
25*2c2f96dcSApple OSS Distributions<dd>
26*2c2f96dcSApple OSS DistributionsSub-type of CPU
27*2c2f96dcSApple OSS Distributions<p>
28*2c2f96dcSApple OSS Distributions<dt> <var>running</var>
29*2c2f96dcSApple OSS Distributions<dd>
30*2c2f96dcSApple OSS DistributionsTrue if the CPU is running
31*2c2f96dcSApple OSS Distributions<p>
32*2c2f96dcSApple OSS Distributions<dt> <var>slot_num</var>
33*2c2f96dcSApple OSS Distributions<dd>
34*2c2f96dcSApple OSS DistributionsSlot number of the CPU
35*2c2f96dcSApple OSS Distributions<p>
36*2c2f96dcSApple OSS Distributions<dt> <var>is_master</var>
37*2c2f96dcSApple OSS Distributions<dd>
38*2c2f96dcSApple OSS DistributionsTrue if this is the master processor
39*2c2f96dcSApple OSS Distributions</dl>
40*2c2f96dcSApple OSS Distributions<h3>DESCRIPTION</h3>
41*2c2f96dcSApple OSS Distributions<p>
42*2c2f96dcSApple OSS DistributionsThe <strong>processor_basic_info</strong> structure defines the information
43*2c2f96dcSApple OSS Distributionsavailable about a processor slot.
44*2c2f96dcSApple OSS Distributions<h3>RELATED INFORMATION</h3>
45*2c2f96dcSApple OSS Distributions<p>
46*2c2f96dcSApple OSS DistributionsFunctions:
47*2c2f96dcSApple OSS Distributions<a href="processor_info.html"><strong>processor_info</strong></a>.
48