From 7cda82594a61836de25885f5d09afb3e5929a0a1 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 9 Jun 2016 01:43:49 +0200 Subject: mach: Add mach_print sycsall declaration * mach/mach/mach_traps.h (mach_print): Add syscall declaration. --- mach/mach/mach_traps.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mach') diff --git a/mach/mach/mach_traps.h b/mach/mach/mach_traps.h index 10dd370..614a887 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 */ -- cgit v1.1