diff options
Diffstat (limited to 'mach/mach_traps.S')
-rw-r--r-- | mach/mach_traps.S | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mach/mach_traps.S b/mach/mach_traps.S new file mode 100644 index 0000000..bd53646 --- /dev/null +++ b/mach/mach_traps.S @@ -0,0 +1,15 @@ +/* Traps for Mach basic system calls and kernel RPC shortcuts. */ + +#include <sysdep.h> + +#define SYSCALL(name, number, type, args, typed_args) \ + SYSCALL_TRAP (__##name, number) + +/* Basic syscalls. */ +#include "mach_syscalls.h" + +/* RPC shortcuts. */ +#define SHORTCUT(name, number, args, typed_args) \ + SYSCALL_TRAP (__syscall_##name, number) + +#include "mach_shortcuts.h" |