This commit is contained in:
erh 2000-03-18 22:16:56 +00:00
parent dd9cf0df56
commit 035c694c67
4 changed files with 19 additions and 12 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.13 2000/02/03 10:22:37 abs Exp $ */
/* $NetBSD: linux_syscall.h,v 1.14 2000/03/18 22:16:56 erh Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.12 1999/12/16 15:13:02 tron Exp
* created from NetBSD: syscalls.master,v 1.13 2000/02/03 10:03:00 abs Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -237,7 +237,7 @@
/* syscall: "swapon" ret: "int" args: "char *" */
#define LINUX_SYS_swapon 87
/* syscall: "reboot" ret: "int" args: "int" */
/* syscall: "reboot" ret: "int" args: "int" "int" "int" "void *" */
#define LINUX_SYS_reboot 88
/* syscall: "readdir" ret: "int" args: "int" "caddr_t" "unsigned int" */

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.13 2000/02/03 10:22:37 abs Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.14 2000/03/18 22:16:56 erh Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.12 1999/12/16 15:13:02 tron Exp
* created from NetBSD: syscalls.master,v 1.13 2000/02/03 10:03:00 abs Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -204,6 +204,13 @@ struct linux_sys_uselib_args {
syscallarg(const char *) path;
};
struct linux_sys_reboot_args {
syscallarg(int) magic1;
syscallarg(int) magic2;
syscallarg(int) cmd;
syscallarg(void *) arg;
};
struct linux_sys_readdir_args {
syscallarg(int) fd;
syscallarg(caddr_t) dent;
@ -538,7 +545,7 @@ int linux_sys_uselib __P((struct proc *, void *, register_t *));
int compat_12_sys_swapon __P((struct proc *, void *, register_t *));
#else
#endif
int sys_reboot __P((struct proc *, void *, register_t *));
int linux_sys_reboot __P((struct proc *, void *, register_t *));
int linux_sys_readdir __P((struct proc *, void *, register_t *));
int linux_sys_old_mmap __P((struct proc *, void *, register_t *));
int sys_munmap __P((struct proc *, void *, register_t *));

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscalls.c,v 1.13 2000/02/03 10:22:40 abs Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.14 2000/03/18 22:16:57 erh Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.12 1999/12/16 15:13:02 tron Exp
* created from NetBSD: syscalls.master,v 1.13 2000/02/03 10:03:00 abs Exp
*/
#if defined(_KERNEL) && !defined(_LKM)

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_sysent.c,v 1.13 2000/02/03 10:22:41 abs Exp $ */
/* $NetBSD: linux_sysent.c,v 1.14 2000/03/18 22:16:57 erh Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.12 1999/12/16 15:13:02 tron Exp
* created from NetBSD: syscalls.master,v 1.13 2000/02/03 10:03:00 abs Exp
*/
#include "opt_compat_netbsd.h"
@ -224,8 +224,8 @@ struct sysent linux_sysent[] = {
{ 0, 0,
sys_nosys }, /* 87 = unimplemented compat_12_sys_swapon */
#endif
{ 1, s(struct sys_reboot_args),
sys_reboot }, /* 88 = reboot */
{ 4, s(struct linux_sys_reboot_args),
linux_sys_reboot }, /* 88 = reboot */
{ 3, s(struct linux_sys_readdir_args),
linux_sys_readdir }, /* 89 = readdir */
{ 1, s(struct linux_sys_old_mmap_args),