aboutsummaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
Diffstat (limited to 'mach')
-rw-r--r--mach/mach/mach_traps.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mach/mach/mach_traps.h b/mach/mach/mach_traps.h
index 10dd3703f2..614a887727 100644
--- a/mach/mach/mach_traps.h
+++ b/mach/mach/mach_traps.h
@@ -75,5 +75,10 @@ kern_return_t __thread_switch (mach_port_t new_thread,
kern_return_t evc_wait (unsigned int event);
kern_return_t __evc_wait (unsigned int event);
+/* Display a null-terminated character string on the Mach console. This
+ system call is meant as a debugging tool useful to circumvent messaging
+ altogether. */
+
+extern void mach_print(const char *s);
#endif /* mach/mach_traps.h */