summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2022-11-06 01:19:41 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-11-06 14:44:44 +0100
commit3011f41610e5e5ebf5d5dead20ee6135efac39f8 (patch)
treefe376a7fda32f2f8e4686ce0a361ec741bddf784
parent21982d148b72095fb37f9b54df2292ddcd9928b3 (diff)
Remove unused mig type definitions in gnumach
* include/mach/mach_types.defs: host_basic_info_data_t, host_sched_info_data_t, host_load_info_data_t, processor_basic_info_data_t, processor_set_basic_info_data_t, processor_set_sched_info_data_t, hread_basic_info_data_t, thread_sched_info_data_t, task_basic_info_data_t, task_events_info, task_thread_times_info_data_t, machine_info_data_t, machine_slot_data_t * include/mach_debug/mach_debug_types.defs: ipc_info_name_t, ipc_info_name_array_t Tested by bootstrapping a Hurd system from scratch. Message-Id: <Y2dD7Z60Bwybg4jF@viriathus>
-rw-r--r--include/mach/mach_types.defs18
-rw-r--r--include/mach_debug/mach_debug_types.defs3
2 files changed, 0 insertions, 21 deletions
diff --git a/include/mach/mach_types.defs b/include/mach/mach_types.defs
index 5c9fb2a8..4412d726 100644
--- a/include/mach/mach_types.defs
+++ b/include/mach/mach_types.defs
@@ -152,14 +152,8 @@ type vm_machine_attribute_val_t = int;
type vm_sync_t = int;
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 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;
-
type memory_object_t = mach_port_t
ctype: mach_port_t
@@ -199,9 +193,6 @@ type memory_object_name_t = mach_port_t
type memory_object_copy_strategy_t = int;
type memory_object_return_t = int;
-type machine_info_data_t = struct[5] of integer_t;
-type machine_slot_data_t = struct[8] of integer_t;
-
type host_t = mach_port_t
ctype: mach_port_t
#if KERNEL_SERVER
@@ -218,10 +209,6 @@ type host_priv_t = mach_port_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;
-
type processor_t = mach_port_t
ctype: mach_port_t
@@ -233,8 +220,6 @@ type processor_t = mach_port_t
type processor_array_t = ^array[] of processor_t;
type processor_info_t = array[*:1024] of integer_t;
-type processor_basic_info_data_t = struct[5] of integer_t;
-
type processor_set_t = mach_port_t
ctype: mach_port_t
@@ -259,9 +244,6 @@ 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 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;
-
type kernel_version_t = (MACH_MSG_TYPE_STRING, 512*8);
diff --git a/include/mach_debug/mach_debug_types.defs b/include/mach_debug/mach_debug_types.defs
index 8df2f344..23c2026d 100644
--- a/include/mach_debug/mach_debug_types.defs
+++ b/include/mach_debug/mach_debug_types.defs
@@ -38,9 +38,6 @@ type cache_info_array_t = array[] of cache_info_t;
type hash_info_bucket_t = struct[1] of natural_t;
type hash_info_bucket_array_t = array[] of hash_info_bucket_t;
-type ipc_info_name_t = struct[6] of natural_t;
-type ipc_info_name_array_t = array[] of ipc_info_name_t;
-
type vm_region_info_t = struct[11] of natural_t;
type vm_region_info_array_t = array[] of vm_region_info_t;