This commit is contained in:
fvdl 1997-10-10 02:06:00 +00:00
parent 7bbb69534f
commit 94781a2402
2 changed files with 15 additions and 6 deletions

View File

@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.56 1997/10/03 15:06:18 enami Exp
* created from NetBSD: syscalls.master,v 1.57 1997/10/10 02:03:47 fvdl Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@ -480,8 +480,7 @@
/* syscall: "setrlimit" ret: "int" args: "u_int" "const struct rlimit *" */
#define SYS_setrlimit 195
/* syscall: "getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
#define SYS_getdirentries 196
/* 196 is compat_12 getdirentries */
/* syscall: "mmap" ret: "caddr_t" args: "caddr_t" "size_t" "int" "int" "int" "long" "off_t" */
#define SYS_mmap 197
@ -576,6 +575,9 @@
/* syscall: "swapctl" ret: "int" args: "int" "void *" "int" */
#define SYS_swapctl 271
/* syscall: "getdents" ret: "int" args: "int" "char *" "size_t" */
#define SYS_getdents 272
/* syscall: "minherit" ret: "int" args: "caddr_t" "size_t" "int" */
#define SYS_minherit 273

View File

@ -2,7 +2,7 @@
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.56 1997/10/03 15:06:18 enami Exp
* created from NetBSD: syscalls.master,v 1.57 1997/10/10 02:03:47 fvdl Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@ -818,7 +818,7 @@ struct sys_setrlimit_args {
syscallarg(const struct rlimit *) rlp;
};
struct sys_getdirentries_args {
struct compat_12_sys_getdirentries_args {
syscallarg(int) fd;
syscallarg(char *) buf;
syscallarg(u_int) count;
@ -999,6 +999,12 @@ struct sys_swapctl_args {
syscallarg(int) misc;
};
struct sys_getdents_args {
syscallarg(int) fd;
syscallarg(char *) buf;
syscallarg(size_t) count;
};
struct sys_minherit_args {
syscallarg(caddr_t) addr;
syscallarg(size_t) len;
@ -1217,7 +1223,7 @@ int sys_pathconf __P((struct proc *, void *, register_t *));
int sys_fpathconf __P((struct proc *, void *, register_t *));
int sys_getrlimit __P((struct proc *, void *, register_t *));
int sys_setrlimit __P((struct proc *, void *, register_t *));
int sys_getdirentries __P((struct proc *, void *, register_t *));
int compat_12_sys_getdirentries __P((struct proc *, void *, register_t *));
int sys_mmap __P((struct proc *, void *, register_t *));
int sys_lseek __P((struct proc *, void *, register_t *));
int sys_truncate __P((struct proc *, void *, register_t *));
@ -1270,6 +1276,7 @@ int sys_clock_getres __P((struct proc *, void *, register_t *));
int sys_nanosleep __P((struct proc *, void *, register_t *));
int sys_posix_rename __P((struct proc *, void *, register_t *));
int sys_swapctl __P((struct proc *, void *, register_t *));
int sys_getdents __P((struct proc *, void *, register_t *));
int sys_minherit __P((struct proc *, void *, register_t *));
int sys_lchmod __P((struct proc *, void *, register_t *));
int sys_lchown __P((struct proc *, void *, register_t *));