diff options
Diffstat (limited to 'sysdeps/mach/include')
-rw-r--r-- | sysdeps/mach/include/mach/mach_traps.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysdeps/mach/include/mach/mach_traps.h b/sysdeps/mach/include/mach/mach_traps.h new file mode 100644 index 0000000000..838386243f --- /dev/null +++ b/sysdeps/mach/include/mach/mach_traps.h @@ -0,0 +1,13 @@ +#ifndef _MACH_MACH_TRAPS_H +#include_next <mach/mach_traps.h> + +extern mach_port_t __mach_reply_port (void) attribute_hidden; +extern mach_port_t __mach_thread_self (void) attribute_hidden; +extern mach_port_t (__mach_task_self) (void) attribute_hidden; +extern mach_port_t (__mach_host_self) (void) attribute_hidden; +extern boolean_t __swtch (void) attribute_hidden; +extern boolean_t __swtch_pri (int priority) attribute_hidden; +kern_return_t __thread_switch (mach_port_t new_thread, + int option, mach_msg_timeout_t option_time) attribute_hidden; +kern_return_t __evc_wait (unsigned int event) attribute_hidden; +#endif |