host : host_t;
out modules : kmod_args_t);
-/*
- * Returns information about the memory allocation zones.
- * Supported in all kernels..
- *
- * DEPRECATED! Use mach_zone_info() instead.
- */
-routine host_zone_info(
- host : host_priv_t;
- out names : zone_name_array_t,
- Dealloc;
- out info : zone_info_array_t,
- Dealloc);
+
+skip; /* was host_zone_info */
/*
* Returns information about the global VP table.
/*
* 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);
/*
* 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);
/*
* Returns information about the memory allocation zones.
* Data returned is compatible with various caller and kernel
- * address space sizes (unlike host_zone_info()).
+ * address space sizes.
*/
routine mach_zone_info(
host : host_priv_t;
* Create a new voucher by running a series of commands against
* <key, previous-voucher> pairs of resource attributes.
*/
+#if !KERNEL && !LIBSYSCALL_INTERFACE
+routine _kernelrpc_host_create_mach_voucher(
+#else
routine host_create_mach_voucher(
+#endif
host : host_t;
recipes : mach_voucher_attr_raw_recipe_array_t;
out voucher : ipc_voucher_t);