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