]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/mach_host.defs
xnu-4570.20.62.tar.gz
[apple/xnu.git] / osfmk / mach / mach_host.defs
index 637109763fff1d990dc65677299b0daaf0302a0f..0f1e2c46d8482ce5082ec0f6abe447627c720d26 100644 (file)
@@ -214,7 +214,12 @@ routine mach_memory_object_memory_entry_64(
 /*
  *     Return statistics from this host.
  */
 /*
  *     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);
                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.
  */
 /*
  *     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);
                host_priv       : host_t;
                flavor          : host_flavor_t;
        out     host_info64_out : host_info64_t, CountInOut);