This commit is contained in:
mycroft 1997-10-10 06:49:08 +00:00
parent 523d84775a
commit 16652e8449
4 changed files with 18 additions and 7 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.18 1997/06/13 17:30:19 thorpej Exp
* created from NetBSD: syscalls.master,v 1.19 1997/10/10 06:25:36 mycroft Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -364,4 +364,7 @@
/* syscall: "munlock" ret: "int" args: "caddr_t" "size_t" */
#define LINUX_SYS_munlock 151
/* syscall: "mremap" ret: "void *" args: "void *" "size_t" "size_t" "u_long" */
#define LINUX_SYS_mremap 163
#define LINUX_SYS_MAXSYSCALL 164

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.18 1997/06/13 17:30:19 thorpej Exp
* created from NetBSD: syscalls.master,v 1.19 1997/10/10 06:25:36 mycroft Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@ -330,6 +330,13 @@ struct linux_sys___sysctl_args {
syscallarg(struct linux___sysctl *) lsp;
};
struct linux_sys_mremap_args {
syscallarg(void *) old_address;
syscallarg(size_t) old_size;
syscallarg(size_t) new_size;
syscallarg(u_long) flags;
};
/*
* System call prototypes.
*/
@ -462,3 +469,4 @@ int linux_sys_fdatasync __P((struct proc *, void *, register_t *));
int linux_sys___sysctl __P((struct proc *, void *, register_t *));
int sys_mlock __P((struct proc *, void *, register_t *));
int sys_munlock __P((struct proc *, void *, register_t *));
int linux_sys_mremap __P((struct proc *, void *, register_t *));

View File

@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.18 1997/06/13 17:30:19 thorpej Exp
* created from NetBSD: syscalls.master,v 1.19 1997/10/10 06:25:36 mycroft Exp
*/
char *linux_syscallnames[] = {
@ -181,5 +181,5 @@ char *linux_syscallnames[] = {
"#160 (unimplemented sched_get_priority_min)", /* 160 = unimplemented sched_get_priority_min */
"#161 (unimplemented sched_rr_get_interval)", /* 161 = unimplemented sched_rr_get_interval */
"#162 (unimplemented nanosleep)", /* 162 = unimplemented nanosleep */
"#163 (unimplemented mremap)", /* 163 = unimplemented mremap */
"mremap", /* 163 = mremap */
};

View File

@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.18 1997/06/13 17:30:19 thorpej Exp
* created from NetBSD: syscalls.master,v 1.19 1997/10/10 06:25:36 mycroft Exp
*/
#include <sys/param.h>
@ -359,7 +359,7 @@ struct sysent linux_sysent[] = {
sys_nosys }, /* 161 = unimplemented sched_rr_get_interval */
{ 0, 0,
sys_nosys }, /* 162 = unimplemented nanosleep */
{ 0, 0,
sys_nosys }, /* 163 = unimplemented mremap */
{ 4, s(struct linux_sys_mremap_args),
linux_sys_mremap }, /* 163 = mremap */
};