]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/mach_host.defs
xnu-6153.121.1.tar.gz
[apple/xnu.git] / osfmk / mach / mach_host.defs
index 5ca0e125e30c1138e9f11182dd909d07776e4f2c..a1b55f5eba2f6da3d2bff8f28e0220a9e61df0b4 100644 (file)
@@ -309,8 +309,8 @@ routine host_register_well_known_mach_voucher_attr_manager(
  * Update the global ATM diagnostic flag, readable from the commpage
  */
 routine host_set_atm_diagnostic_flag(
-        host_priv      : host_priv_t;
-    in  diagnostic_flag : uint32_t);
+               host            : host_t;
+       in      diagnostic_flag : uint32_t);
 
 #if !KERNEL && LIBSYSCALL_INTERFACE
 routine host_get_atm_diagnostic_flag(
@@ -375,4 +375,31 @@ routine mach_zone_info_for_largest_zone(
 skip;
 #endif
 
+#ifdef PRIVATE
+/*
+ * Returns names of zones that have zlog enabled.
+ */
+routine mach_zone_get_zlog_zones(
+               host            : host_priv_t;
+       out     names           : mach_zone_name_array_t,
+                                       Dealloc);
+#else
+skip;
+#endif
+
+#ifdef PRIVATE
+/*
+ * Returns BTLog records for a specific zone.
+ * The zone name is passed in via the argument name,
+ * recs returns an array of zone_btrecord_t's.
+ */
+routine mach_zone_get_btlog_records(
+               host            : host_priv_t;
+               name            : mach_zone_name_t;
+       out     recs            : zone_btrecord_array_t,
+                                       Dealloc);
+#else
+skip;
+#endif
+
 /* vim: set ft=c : */