summaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
Diffstat (limited to 'mach')
-rw-r--r--mach/mach_shortcuts.c13
-rw-r--r--mach/mach_syscalls.h31
2 files changed, 0 insertions, 44 deletions
diff --git a/mach/mach_shortcuts.c b/mach/mach_shortcuts.c
deleted file mode 100644
index ef1792b003..0000000000
--- a/mach/mach_shortcuts.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <mach/mach_types.h>
-#include <mach/mach_port.h>
-
-#define SHORTCUT(name, number, args, typed_args) \
-kern_return_t __##name typed_args \
-{ \
- kern_return_t ret = __syscall_##name args; \
- if (ret == MACH_SEND_INTERRUPTED) \
- ret = __mig_##name args; \
- return ret; \
-}
-
-#include "mach_shortcuts.h"
diff --git a/mach/mach_syscalls.h b/mach/mach_syscalls.h
deleted file mode 100644
index 8b33dc4e7e..0000000000
--- a/mach/mach_syscalls.h
+++ /dev/null
@@ -1,31 +0,0 @@
-SYSCALL (mach_msg_trap, -25,
- mach_msg_return_t,
- (msg, option, send_size,
- rcv_size, rcv_name, timeout, notify),
- (mach_msg_header_t *msg,
- mach_msg_option_t option,
- mach_msg_size_t send_size,
- mach_msg_size_t rcv_size,
- mach_port_t rcv_name,
- mach_msg_timeout_t timeout,
- mach_port_t notify))
-
-SYSCALL (mach_reply_port, -26,
- mach_port_t,
- (),
- (void))
-
-SYSCALL (mach_thread_self, -27,
- mach_port_t,
- (),
- (void))
-
-SYSCALL (mach_task_self, -28,
- mach_port_t,
- (),
- (void))
-
-SYSCALL (mach_host_self, -29,
- mach_port_t,
- (),
- (void))