summaryrefslogtreecommitdiff
path: root/mach/mach_traps.S
blob: bd536462946a1dcdd8ab67a041d8423c6d6088d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"