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