From 8bb41c1aead535acac6b8d8c13f7f5d5a0e170f6 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sun, 7 May 2023 23:35:23 -0400 Subject: 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: --- include/mach/mach_host.defs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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. -- cgit v1.2.3