Add the 'args' argument to sys_syscall and sys___syscall.
This commit is contained in:
parent
f4311cf9b6
commit
fb82085e57
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: syscalls.master,v 1.178 2007/11/07 00:37:21 ad Exp $
|
||||
$NetBSD: syscalls.master,v 1.179 2007/11/09 14:57:33 dsl Exp $
|
||||
|
||||
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
|
||||
|
||||
|
@ -61,7 +61,8 @@
|
|||
; redistributions should be placed in the reserved range at the end
|
||||
; of the current calls.
|
||||
|
||||
0 INDIR { int sys_syscall(int number, ...); }
|
||||
0 INDIR { int sys_syscall(int code, \
|
||||
... register_t args[SYS_MAXSYSARGS]); }
|
||||
1 STD { void sys_exit(int rval); }
|
||||
2 STD { int sys_fork(void); }
|
||||
3 STD { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
|
||||
|
@ -400,7 +401,8 @@
|
|||
u_int count, long *basep); }
|
||||
197 STD { 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 num, ...); }
|
||||
198 INDIR { quad_t sys___syscall(quad_t code, \
|
||||
... register_t args[SYS_MAXSYSARGS]); }
|
||||
199 STD { off_t sys_lseek(int fd, int pad, off_t offset, \
|
||||
int whence); }
|
||||
200 STD { int sys_truncate(const char *path, int pad, \
|
||||
|
|
Loading…
Reference in New Issue