summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2011-08-30 03:09:40 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-31 00:46:02 +0200
commit1e709eb6a8102937e90ba7cfdfc492be85ebdffc (patch)
treeee941cf6c1d7fdc6baa7a0e8a5afb664a562b557 /include
parent13e123efc65ee999a0eb754f7d14e78323792343 (diff)
Correct MiG Mach types to fix compilation warnings
* include/mach/mach_types.defs (thread_info_t): Change from array of natural_t to integer_t. (task_info_t): Likewise. (host_info_t): Likewise. (processor_info_t): Likewise. (processor_set_info_t): Likewise.
Diffstat (limited to 'include')
-rw-r--r--include/mach/mach_types.defs10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/mach/mach_types.defs b/include/mach/mach_types.defs
index 4e448b8..5e31cdc 100644
--- a/include/mach/mach_types.defs
+++ b/include/mach/mach_types.defs
@@ -121,11 +121,11 @@ type vm_statistics_data_t = struct[13] of integer_t;
type vm_machine_attribute_t = int;
type vm_machine_attribute_val_t = int;
-type thread_info_t = array[*:1024] of natural_t;
+type thread_info_t = array[*:1024] of integer_t;
type thread_basic_info_data_t = struct[11] of integer_t;
type thread_sched_info_data_t = struct[7] of integer_t;
-type task_info_t = array[*:1024] of natural_t;
+type task_info_t = array[*:1024] of integer_t;
type task_basic_info_data_t = struct[8] of integer_t;
type task_events_info = struct[7] of natural_t;
type task_thread_times_info_data_t = struct[4] of integer_t;
@@ -174,7 +174,7 @@ type host_priv_t = mach_port_t
#endif /* KERNEL_SERVER */
;
-type host_info_t = array[*:1024] of natural_t;
+type host_info_t = array[*:1024] of integer_t;
type host_basic_info_data_t = struct[5] of integer_t;
type host_sched_info_data_t = struct[2] of integer_t;
type host_load_info_data_t = struct[6] of integer_t;
@@ -189,7 +189,7 @@ type processor_t = mach_port_t
;
type processor_array_t = ^array[] of processor_t;
-type processor_info_t = array[*:1024] of natural_t;
+type processor_info_t = array[*:1024] of integer_t;
type processor_basic_info_data_t = struct[5] of integer_t;
@@ -215,7 +215,7 @@ type processor_set_name_t = mach_port_t
type processor_set_name_array_t = ^array[] of processor_set_name_t;
-type processor_set_info_t = array[*:1024] of natural_t;
+type processor_set_info_t = array[*:1024] of integer_t;
type processor_set_basic_info_data_t = struct[5] of integer_t;
type processor_set_sched_info_data_t = struct[2] of integer_t;