From 28f540f45bbacd939bfd07f213bcad2bf730b1bf Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 18 Feb 1995 01:27:10 +0000 Subject: initial import --- mach/mach_shortcuts.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mach/mach_shortcuts.c (limited to 'mach/mach_shortcuts.c') diff --git a/mach/mach_shortcuts.c b/mach/mach_shortcuts.c new file mode 100644 index 0000000000..ef1792b003 --- /dev/null +++ b/mach/mach_shortcuts.c @@ -0,0 +1,13 @@ +#include +#include + +#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" -- cgit v1.2.3