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