From 528f8305be1ab75280e62f0c54c67d3c59504daf Mon Sep 17 00:00:00 2001 From: erh Date: Sat, 18 Mar 2000 22:21:02 +0000 Subject: [PATCH] Regen. --- sys/compat/linux/arch/i386/linux_syscall.h | 6 +++--- sys/compat/linux/arch/i386/linux_syscallargs.h | 13 ++++++++++--- sys/compat/linux/arch/i386/linux_syscalls.c | 4 ++-- sys/compat/linux/arch/i386/linux_sysent.c | 8 ++++---- 4 files changed, 19 insertions(+), 12 deletions(-) diff --git a/sys/compat/linux/arch/i386/linux_syscall.h b/sys/compat/linux/arch/i386/linux_syscall.h index b58a34f2a7e8..d89baa880b3a 100644 --- a/sys/compat/linux/arch/i386/linux_syscall.h +++ b/sys/compat/linux/arch/i386/linux_syscall.h @@ -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" */ diff --git a/sys/compat/linux/arch/i386/linux_syscallargs.h b/sys/compat/linux/arch/i386/linux_syscallargs.h index 0409f1351436..dff249d887d1 100644 --- a/sys/compat/linux/arch/i386/linux_syscallargs.h +++ b/sys/compat/linux/arch/i386/linux_syscallargs.h @@ -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 *)); diff --git a/sys/compat/linux/arch/i386/linux_syscalls.c b/sys/compat/linux/arch/i386/linux_syscalls.c index 7759ce0d6769..3f928ddfdec0 100644 --- a/sys/compat/linux/arch/i386/linux_syscalls.c +++ b/sys/compat/linux/arch/i386/linux_syscalls.c @@ -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) diff --git a/sys/compat/linux/arch/i386/linux_sysent.c b/sys/compat/linux/arch/i386/linux_sysent.c index 653b613948a5..4cbea37fd5bc 100644 --- a/sys/compat/linux/arch/i386/linux_sysent.c +++ b/sys/compat/linux/arch/i386/linux_sysent.c @@ -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),