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