mach: Add mach_print sycsall declaration

* mach/mach/mach_traps.h (mach_print): Add syscall declaration.
This commit is contained in:
Samuel Thibault 2016-06-09 01:43:49 +02:00
parent 8c010e2f71
commit 7cda82594a
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
* mach/mach/mach_traps.h (mach_print): Add syscall declaration.
2016-06-08 Joseph Myers <joseph@codesourcery.com>
[BZ #20229]

View File

@ -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 */