syscall() needs to be 'NOARGS INDIR'.

Actually I wonder if this code could use the standard syscall table ?
This commit is contained in:
dsl 2007-11-12 22:23:01 +00:00
parent fe62d31b91
commit 9bb5de8a76
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.25 2007/11/09 15:05:33 dsl Exp $
$NetBSD: syscalls.master,v 1.26 2007/11/12 22:23:01 dsl Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@ -61,7 +61,7 @@
; redistributions should be placed in the reserved range at the end
; of the current calls.
0 INDIR { int sys_syscall(int code, \
0 NOARGS INDIR { int sys_syscall(int code, \
... register32_t args[AOUTM68K_SYS_MAXSYSARGS]); }
1 NOARGS { void sys_exit(int rval); }
2 NOARGS { int sys_fork(void); }
@ -545,7 +545,7 @@
#endif
197 NOARGS { void *sys_mmap(void *addr, size_t len, int prot, \
int flags, int fd, long pad, off_t pos); }
198 INDIR { quad_t sys___syscall(quad_t code, \
198 NOARGS INDIR { quad_t sys___syscall(quad_t code, \
... register32_t args[AOUTM68K_SYS_MAXSYSARGS]); }
199 NOARGS { off_t sys_lseek(int fd, int pad, off_t offset, \
int whence); }