/*
- * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2009 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
*/
#ifdef MACH_KERNEL
-#include <mach_prof.h>
#include <advisory_pageout.h>
#endif /* MACH_KERNEL */
/*
* Get host page size
+ * (compatibility for running old libraries on new kernels -
+ * host_page_size() is now a library routine based on constants)
*/
+#if KERNEL
routine host_page_size(
+#else
+routine _host_page_size(
+#endif
host : host_t;
out out_page_size : vm_size_t);
clock_id : clock_id_t;
out clock_serv : clock_serv_t);
-
+/*
+ * kernel module interface (obsolete as of SnowLeopard)
+ * see mach/kmod.h
+ */
+/* kmod_ MIG calls now return KERN_NOT_SUPPORTED on PPC/i386/x86_64. */
routine kmod_get_info(
host : host_t;
out modules : kmod_args_t);
out info : hash_info_bucket_array_t,
Dealloc);
-/*
- * JMM - These routines should be on the host_priv port. We need
- * to verify the move before putting them there.
- */
-routine enable_bluebox(
- host : host_t;
- in taskID : unsigned;
- in TWI_TableStart : unsigned;
- in Desc_TableStart : unsigned);
-
-routine disable_bluebox(
- host : host_t);
+skip; /* was enable_bluebox */
+skip; /* was disable_bluebox */
/*
* JMM - Keep processor_set related items at the end for easy
out lockgroup_info : lockgroup_info_array_t,
Dealloc);
+/*
+ * Return 64-bit statistics from this host.
+ */
+routine host_statistics64(
+ host_priv : host_t;
+ flavor : host_flavor_t;
+ out host_info64_out : host_info64_t, CountInOut);
+
+
+/* vim: set ft=c : */