summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-05-07 23:35:23 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-11 01:31:38 +0200
commit8bb41c1aead535acac6b8d8c13f7f5d5a0e170f6 (patch)
treecbaed9fdf80e268cedebb97fd6eb6ed237a908a5 /include
parentba90ce5852019616d54df1dccd14a3da2746bd30 (diff)
Remove host_kernel_version RPC for x86_64
We can fast track the simplification of the RPC ABI for x86_64 if we don't have MACH_MSG_TYPE_STRING used in RPCs which forces msgt_size to use more than 8 bits. Message-Id: <ZFht+/9cVPHuV90D@jupiter.tail36e24.ts.net>
Diffstat (limited to 'include')
-rw-r--r--include/mach/mach_host.defs4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mach/mach_host.defs b/include/mach/mach_host.defs
index 90581cff..07383a57 100644
--- a/include/mach/mach_host.defs
+++ b/include/mach/mach_host.defs
@@ -161,6 +161,9 @@ routine task_get_assignment(
task : task_t;
out assigned_set : processor_set_name_t);
+#ifdef __x86_64__
+skip;
+#else
/*
* Get string describing current kernel version.
* Deprecated, use host_get_kernel_version.
@@ -168,6 +171,7 @@ routine task_get_assignment(
routine host_kernel_version(
host : host_t;
out kernel_version : kernel_version_t);
+#endif
/*
* Set priority for thread.