]> git.saurik.com Git - apple/xnu.git/blobdiff - libkern/os/log.h
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / libkern / os / log.h
index 2972daca7dd6f519180e17ff2fe664736d6d12ab..08229dd3a9fb147b9c3d00e75ce623cf96503ca9 100644 (file)
@@ -493,6 +493,26 @@ os_log_debug_enabled(os_log_t log);
     __asm__(""); /* avoid tailcall */                                                       \
 })
 
+/*!
+ * @function os_log_coprocessor
+ *
+ * @abstract
+ * IOP logging function, intended for use by RTBuddy for
+ * coprocessor os log functionality only.
+ */
+bool
+os_log_coprocessor(void *buff, uint64_t buff_len, os_log_type_t type,
+    const char *uuid, uint64_t timestamp, uint32_t offset, bool stream_log);
+
+/*!
+ * @function os_log_coprocessor_register
+ *
+ * @abstract
+ * IOP metadata registration, intended for use by RTBuddy for
+ * coprocessor os log functionality only.
+ */
+void
+os_log_coprocessor_register(const char *uuid, const char *file_path, bool copy);
 
 /*!
  * @function os_log_sensitive_debug