18 |
#ifndef __syscalls_h |
#ifndef __syscalls_h |
19 |
#define __syscalls_h 1 |
#define __syscalls_h 1 |
20 |
|
|
21 |
|
#include <rtmk/kern-return.h> |
22 |
|
|
23 |
struct syscall |
struct syscall |
24 |
{ |
{ |
25 |
void (*syscall_fn) (void *); /* Function for system call. */ |
kern_return_t (*syscall_fn) (void *); /* Function for system call. */ |
26 |
int nargs; /* Number of arguments. */ |
int nargs; /* Number of arguments. */ |
27 |
}; |
}; |
28 |
|
|
29 |
/* Table of system calls supported by the system. */ |
/* Table of system calls supported by the system. */ |