]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/mach_types.defs
xnu-4903.270.47.tar.gz
[apple/xnu.git] / osfmk / mach / mach_types.defs
index dc6b2e47dd08c4b0db51312aaa2d3cdac1b5408f..27dbd26a6115443b565e554f684324350ade66ca 100644 (file)
@@ -372,18 +372,27 @@ type processor_t = mach_port_t
 #endif /* KERNEL_SERVER */
                ;
 
-type processor_array_t         = ^array[] of processor_t;
+type processor_array_t = ^array[] of processor_t;
 
-               /* processor_info_t: variable-sized inline array that can
+               /*
+                * processor_info_t: variable-sized inline array that can
                 * contain:
-                * processor_basic_info_t:   (5 ints)
-                * processor_cpu_load_info_t:(4 ints)
-                * processor_machine_info_t :(12 ints)
+                *
+                * - processor_basic_info_t:    (5 ints)
+                * - processor_cpu_load_info_t: (4 ints)
+                * - processor_machine_info_t:  (12 ints)
+                * - processor_cpu_stat_t:      (10 ints)
+                * - processor_cpu_stat64_t:    (20 ints)
+                *
                 * If other processor_info flavors are added, this definition
-                * may need to be changed. (See mach/processor_info.h) */
-type processor_flavor_t                = int;
-type processor_info_t          = array[*:12] of integer_t;
-type processor_info_array_t    = ^array[] of integer_t;
+                * may need to be changed.
+                *
+                * See mach/processor_info.h and mach/arm/processor_info.h.
+                */
+
+type processor_flavor_t     = int;
+type processor_info_t       = array[*:20] of integer_t;
+type processor_info_array_t = ^array[] of integer_t;
 
 type processor_set_t = mach_port_t
 #if    KERNEL_SERVER