X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/5ba3f43ea354af8ad55bea84372a2bc834d8757c..cc8bc92ae4a8e9f1a1ab61bf83d34ad8150b3405:/osfmk/mach/mach_host.defs?ds=sidebyside diff --git a/osfmk/mach/mach_host.defs b/osfmk/mach/mach_host.defs index 637109763..0f1e2c46d 100644 --- a/osfmk/mach/mach_host.defs +++ b/osfmk/mach/mach_host.defs @@ -214,7 +214,12 @@ routine mach_memory_object_memory_entry_64( /* * Return statistics from this host. */ -routine host_statistics( +routine +#ifdef KERNEL_SERVER +host_statistics_from_user( +#else +host_statistics( +#endif host_priv : host_t; flavor : host_flavor_t; out host_info_out : host_info_t, CountInOut); @@ -232,7 +237,12 @@ routine host_lockgroup_info( /* * Return 64-bit statistics from this host. */ -routine host_statistics64( +routine +#ifdef KERNEL_SERVER +host_statistics64_from_user( +#else +host_statistics64( +#endif host_priv : host_t; flavor : host_flavor_t; out host_info64_out : host_info64_t, CountInOut);