This commit is contained in:
erh 2000-03-18 22:21:02 +00:00
parent f3ae1c7294
commit 528f8305be
4 changed files with 19 additions and 12 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.16 2000/02/03 10:22:34 abs Exp $ */
/* $NetBSD: linux_syscall.h,v 1.17 2000/03/18 22:21:02 erh Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.39 1999/12/12 00:00:17 tron Exp
* created from NetBSD: syscalls.master,v 1.40 2000/02/03 10:02:59 abs Exp
*/
/* syscall: "syscall" ret: "int" args: */
@ -242,7 +242,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.16 2000/02/03 10:22:35 abs Exp $ */
/* $NetBSD: linux_syscallargs.h,v 1.17 2000/03/18 22:21:02 erh Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.39 1999/12/12 00:00:17 tron Exp
* created from NetBSD: syscalls.master,v 1.40 2000/02/03 10:02:59 abs Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@ -212,6 +212,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;
@ -557,7 +564,7 @@ int compat_43_sys_lstat __P((struct proc *, void *, register_t *));
int linux_sys_readlink __P((struct proc *, void *, register_t *));
int linux_sys_uselib __P((struct proc *, void *, register_t *));
int compat_12_sys_swapon __P((struct proc *, void *, register_t *));
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.16 2000/02/03 10:22:35 abs Exp $ */
/* $NetBSD: linux_syscalls.c,v 1.17 2000/03/18 22:21:03 erh Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.39 1999/12/12 00:00:17 tron Exp
* created from NetBSD: syscalls.master,v 1.40 2000/02/03 10:02:59 abs Exp
*/
#if defined(_KERNEL) && !defined(_LKM)

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_sysent.c,v 1.16 2000/02/03 10:22:36 abs Exp $ */
/* $NetBSD: linux_sysent.c,v 1.17 2000/03/18 22:21:03 erh Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.39 1999/12/12 00:00:17 tron Exp
* created from NetBSD: syscalls.master,v 1.40 2000/02/03 10:02:59 abs Exp
*/
#include "opt_compat_43.h"
@ -199,8 +199,8 @@ struct sysent linux_sysent[] = {
linux_sys_uselib }, /* 86 = uselib */
{ 1, s(struct compat_12_sys_swapon_args),
compat_12_sys_swapon }, /* 87 = swapon */
{ 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),