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