summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-04-06 01:04:15 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-04-07 00:44:58 +0200
commit6f10e3b8c58b0354d3ed9ea486779024b6ffcb5d (patch)
tree42cf73f33ec15ce8ed33c095039823190e172290 /include
parent4fd5e9c2c18fa71ebc6dce5fcfe077f8c9f29bab (diff)
Remove host_get_boot_info and host_get_kernel_boot_info since they are not used.
host_get_kernel_boot_info was added recently to fix the use of MACH_MSG_TYPE_STRING. Message-Id: <ZC5Sz8a4FCT6IjCY@jupiter.tail36e24.ts.net>
Diffstat (limited to 'include')
-rw-r--r--include/mach/host_info.h3
-rw-r--r--include/mach/mach_host.defs16
-rw-r--r--include/mach/mach_types.defs4
3 files changed, 2 insertions, 21 deletions
diff --git a/include/mach/host_info.h b/include/mach/host_info.h
index 82f3faac..b84376b8 100644
--- a/include/mach/host_info.h
+++ b/include/mach/host_info.h
@@ -46,9 +46,6 @@ typedef integer_t host_info_data_t[HOST_INFO_MAX];
#define KERNEL_VERSION_MAX (512)
typedef char kernel_version_t[KERNEL_VERSION_MAX];
-#define KERNEL_BOOT_INFO_MAX (4096)
-typedef char kernel_boot_info_t[KERNEL_BOOT_INFO_MAX];
-
/*
* Currently defined information.
*/
diff --git a/include/mach/mach_host.defs b/include/mach/mach_host.defs
index 99b48b4b..90581cff 100644
--- a/include/mach/mach_host.defs
+++ b/include/mach/mach_host.defs
@@ -347,13 +347,8 @@ routine processor_control(
processor : processor_t;
processor_cmd : processor_info_t);
-/*
- * Get boot configuration information from kernel.
- * Deprecated, use host_get_kernel_boot_info.
- */
-routine host_get_boot_info(
- host_priv : host_priv_t;
- out boot_info : kernel_boot_info_t);
+/* host_get_boot_info */
+skip;
/*
* Get the time on this host.
@@ -387,10 +382,3 @@ routine host_adjust_time64(
routine host_get_kernel_version(
host : host_t;
out kernel_version : new_kernel_version_t);
-
-/*
- * Get boot configuration information from kernel.
- */
-routine host_get_kernel_boot_info(
- host_priv : host_priv_t;
- out boot_info : new_kernel_boot_info_t);
diff --git a/include/mach/mach_types.defs b/include/mach/mach_types.defs
index e02e3e8a..74196018 100644
--- a/include/mach/mach_types.defs
+++ b/include/mach/mach_types.defs
@@ -259,10 +259,6 @@ type kernel_version_t = (MACH_MSG_TYPE_STRING, 512*8);
type new_kernel_version_t = c_string[512]
ctype: kernel_version_t;
-type kernel_boot_info_t = (MACH_MSG_TYPE_STRING, 4096*8);
-type new_kernel_boot_info_t = c_string[4096]
- ctype: kernel_boot_info_t;
-
type rpc_time_value_t = struct {
rpc_long_integer_t seconds;
integer_t microseconds;