Regen for syscalls cleanup.

This commit is contained in:
njoly 2007-10-31 21:06:19 +00:00
parent 6f36d09e87
commit beab9df119
4 changed files with 52 additions and 85 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux32_syscall.h,v 1.18 2007/10/27 09:17:50 njoly Exp $ */
/* $NetBSD: linux32_syscall.h,v 1.19 2007/10/31 21:06:19 njoly Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.16 2007/10/27 09:16:24 njoly Exp
* created from NetBSD: syscalls.master,v 1.17 2007/10/31 21:04:02 njoly Exp
*/
#ifndef _LINUX32_SYS_SYSCALL_H_
@ -37,8 +37,8 @@
/* syscall: "creat" ret: "int" args: "const netbsd32_charp" "int" */
#define LINUX32_SYS_creat 8
/* syscall: "link" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
#define LINUX32_SYS_link 9
/* syscall: "netbsd32_link" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
#define LINUX32_SYS_netbsd32_link 9
/* syscall: "unlink" ret: "int" args: "const netbsd32_charp" */
#define LINUX32_SYS_unlink 10
@ -46,8 +46,8 @@
/* syscall: "netbsd32_execve" ret: "int" args: "const netbsd32_charp" "netbsd32_charpp" "netbsd32_charpp" */
#define LINUX32_SYS_netbsd32_execve 11
/* syscall: "chdir" ret: "int" args: "const netbsd32_charp" */
#define LINUX32_SYS_chdir 12
/* syscall: "netbsd32_chdir" ret: "int" args: "const netbsd32_charp" */
#define LINUX32_SYS_netbsd32_chdir 12
/* syscall: "time" ret: "int" args: "linux32_timep_t" */
#define LINUX32_SYS_time 13
@ -55,8 +55,8 @@
/* syscall: "mknod" ret: "int" args: "const netbsd32_charp" "int" "int" */
#define LINUX32_SYS_mknod 14
/* syscall: "chmod" ret: "int" args: "const netbsd32_charp" "int" */
#define LINUX32_SYS_chmod 15
/* syscall: "netbsd32_chmod" ret: "int" args: "const netbsd32_charp" "int" */
#define LINUX32_SYS_netbsd32_chmod 15
/* syscall: "lchown16" ret: "int" args: "const netbsd32_charp" "int" "int" */
#define LINUX32_SYS_lchown16 16
@ -92,8 +92,8 @@
/* 31 is obsolete stty */
/* 32 is obsolete gtty */
/* syscall: "access" ret: "int" args: "const netbsd32_charp" "int" */
#define LINUX32_SYS_access 33
/* syscall: "netbsd32_access" ret: "int" args: "const netbsd32_charp" "int" */
#define LINUX32_SYS_netbsd32_access 33
/* syscall: "nice" ret: "int" args: "int" */
#define LINUX32_SYS_nice 34
@ -108,11 +108,11 @@
/* syscall: "rename" ret: "int" args: "const netbsd32_charp" "const netbsd32_charp" */
#define LINUX32_SYS_rename 38
/* syscall: "mkdir" ret: "int" args: "const netbsd32_charp" "int" */
#define LINUX32_SYS_mkdir 39
/* syscall: "netbsd32_mkdir" ret: "int" args: "const netbsd32_charp" "int" */
#define LINUX32_SYS_netbsd32_mkdir 39
/* syscall: "rmdir" ret: "int" args: "const netbsd32_charp" */
#define LINUX32_SYS_rmdir 40
/* syscall: "netbsd32_rmdir" ret: "int" args: "const netbsd32_charp" */
#define LINUX32_SYS_netbsd32_rmdir 40
/* syscall: "netbsd32_dup" ret: "int" args: "u_int" */
#define LINUX32_SYS_netbsd32_dup 41
@ -212,8 +212,8 @@
/* syscall: "oldselect" ret: "int" args: "linux32_oldselectp_t" */
#define LINUX32_SYS_oldselect 82
/* syscall: "symlink" ret: "int" args: "netbsd32_charp" "const netbsd32_charp" */
#define LINUX32_SYS_symlink 83
/* syscall: "netbsd32_symlink" ret: "int" args: "netbsd32_charp" "const netbsd32_charp" */
#define LINUX32_SYS_netbsd32_symlink 83
/* syscall: "compat_43_netbsd32_lstat43" ret: "int" args: "const netbsd32_charp" "netbsd32_stat43p_t" */
#define LINUX32_SYS_compat_43_netbsd32_lstat43 84

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux32_syscallargs.h,v 1.18 2007/10/27 09:17:50 njoly Exp $ */
/* $NetBSD: linux32_syscallargs.h,v 1.19 2007/10/31 21:06:19 njoly Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.16 2007/10/27 09:16:24 njoly Exp
* created from NetBSD: syscalls.master,v 1.17 2007/10/31 21:04:02 njoly Exp
*/
#ifndef _LINUX32_SYS_SYSCALLARGS_H_
@ -44,19 +44,10 @@ struct linux32_sys_creat_args {
syscallarg(int) mode;
};
struct linux32_sys_link_args {
syscallarg(const netbsd32_charp) path;
syscallarg(const netbsd32_charp) link;
};
struct linux32_sys_unlink_args {
syscallarg(const netbsd32_charp) path;
};
struct linux32_sys_chdir_args {
syscallarg(const netbsd32_charp) path;
};
struct linux32_sys_time_args {
syscallarg(linux32_timep_t) t;
};
@ -67,11 +58,6 @@ struct linux32_sys_mknod_args {
syscallarg(int) dev;
};
struct linux32_sys_chmod_args {
syscallarg(const netbsd32_charp) path;
syscallarg(int) mode;
};
struct linux32_sys_lchown16_args {
syscallarg(const netbsd32_charp) path;
syscallarg(int) uid;
@ -91,11 +77,6 @@ struct linux32_sys_utime_args {
syscallarg(linux32_utimbufp_t) times;
};
struct linux32_sys_access_args {
syscallarg(const netbsd32_charp) path;
syscallarg(int) flags;
};
struct linux32_sys_kill_args {
syscallarg(int) pid;
syscallarg(int) signum;
@ -106,15 +87,6 @@ struct linux32_sys_rename_args {
syscallarg(const netbsd32_charp) to;
};
struct linux32_sys_mkdir_args {
syscallarg(const netbsd32_charp) path;
syscallarg(int) mode;
};
struct linux32_sys_rmdir_args {
syscallarg(const netbsd32_charp) path;
};
struct linux32_sys_pipe_args {
syscallarg(netbsd32_intp) fd;
};
@ -192,11 +164,6 @@ struct linux32_sys_oldselect_args {
syscallarg(linux32_oldselectp_t) lsp;
};
struct linux32_sys_symlink_args {
syscallarg(netbsd32_charp) path;
syscallarg(const netbsd32_charp) link;
};
struct linux32_sys_readlink_args {
syscallarg(const netbsd32_charp) name;
syscallarg(netbsd32_charp) buf;
@ -432,19 +399,19 @@ int linux32_sys_waitpid(struct lwp *, void *, register_t *);
int linux32_sys_creat(struct lwp *, void *, register_t *);
int linux32_sys_link(struct lwp *, void *, register_t *);
int netbsd32_link(struct lwp *, void *, register_t *);
int linux32_sys_unlink(struct lwp *, void *, register_t *);
int netbsd32_execve(struct lwp *, void *, register_t *);
int linux32_sys_chdir(struct lwp *, void *, register_t *);
int netbsd32_chdir(struct lwp *, void *, register_t *);
int linux32_sys_time(struct lwp *, void *, register_t *);
int linux32_sys_mknod(struct lwp *, void *, register_t *);
int linux32_sys_chmod(struct lwp *, void *, register_t *);
int netbsd32_chmod(struct lwp *, void *, register_t *);
int linux32_sys_lchown16(struct lwp *, void *, register_t *);
@ -466,7 +433,7 @@ int linux_sys_pause(struct lwp *, void *, register_t *);
int linux32_sys_utime(struct lwp *, void *, register_t *);
int linux32_sys_access(struct lwp *, void *, register_t *);
int netbsd32_access(struct lwp *, void *, register_t *);
int linux_sys_nice(struct lwp *, void *, register_t *);
@ -476,9 +443,9 @@ int linux32_sys_kill(struct lwp *, void *, register_t *);
int linux32_sys_rename(struct lwp *, void *, register_t *);
int linux32_sys_mkdir(struct lwp *, void *, register_t *);
int netbsd32_mkdir(struct lwp *, void *, register_t *);
int linux32_sys_rmdir(struct lwp *, void *, register_t *);
int netbsd32_rmdir(struct lwp *, void *, register_t *);
int netbsd32_dup(struct lwp *, void *, register_t *);
@ -542,7 +509,7 @@ int linux32_sys_setgroups16(struct lwp *, void *, register_t *);
int linux32_sys_oldselect(struct lwp *, void *, register_t *);
int linux32_sys_symlink(struct lwp *, void *, register_t *);
int netbsd32_symlink(struct lwp *, void *, register_t *);
int compat_43_netbsd32_lstat43(struct lwp *, void *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux32_syscalls.c,v 1.18 2007/10/27 09:17:50 njoly Exp $ */
/* $NetBSD: linux32_syscalls.c,v 1.19 2007/10/31 21:06:19 njoly Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.16 2007/10/27 09:16:24 njoly Exp
* created from NetBSD: syscalls.master,v 1.17 2007/10/31 21:04:02 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.18 2007/10/27 09:17:50 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux32_syscalls.c,v 1.19 2007/10/31 21:06:19 njoly Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -45,13 +45,13 @@ const char *const linux32_syscallnames[] = {
"close", /* 6 = close */
"waitpid", /* 7 = waitpid */
"creat", /* 8 = creat */
"link", /* 9 = link */
"netbsd32_link", /* 9 = netbsd32_link */
"unlink", /* 10 = unlink */
"netbsd32_execve", /* 11 = netbsd32_execve */
"chdir", /* 12 = chdir */
"netbsd32_chdir", /* 12 = netbsd32_chdir */
"time", /* 13 = time */
"mknod", /* 14 = mknod */
"chmod", /* 15 = chmod */
"netbsd32_chmod", /* 15 = netbsd32_chmod */
"lchown16", /* 16 = lchown16 */
"break", /* 17 = break */
"#18 (obsolete ostat)", /* 18 = obsolete ostat */
@ -69,14 +69,14 @@ const char *const linux32_syscallnames[] = {
"utime", /* 30 = utime */
"#31 (obsolete stty)", /* 31 = obsolete stty */
"#32 (obsolete gtty)", /* 32 = obsolete gtty */
"access", /* 33 = access */
"netbsd32_access", /* 33 = netbsd32_access */
"nice", /* 34 = nice */
"#35 (obsolete ftime)", /* 35 = obsolete ftime */
"sync", /* 36 = sync */
"kill", /* 37 = kill */
"rename", /* 38 = rename */
"mkdir", /* 39 = mkdir */
"rmdir", /* 40 = rmdir */
"netbsd32_mkdir", /* 39 = netbsd32_mkdir */
"netbsd32_rmdir", /* 40 = netbsd32_rmdir */
"netbsd32_dup", /* 41 = netbsd32_dup */
"pipe", /* 42 = pipe */
"times", /* 43 = times */
@ -119,7 +119,7 @@ const char *const linux32_syscallnames[] = {
"getgroups16", /* 80 = getgroups16 */
"setgroups16", /* 81 = setgroups16 */
"oldselect", /* 82 = oldselect */
"symlink", /* 83 = symlink */
"netbsd32_symlink", /* 83 = netbsd32_symlink */
"compat_43_netbsd32_lstat43", /* 84 = compat_43_netbsd32_lstat43 */
"readlink", /* 85 = readlink */
"#86 (unimplemented uselib)", /* 86 = unimplemented uselib */

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux32_sysent.c,v 1.18 2007/10/27 09:17:50 njoly Exp $ */
/* $NetBSD: linux32_sysent.c,v 1.19 2007/10/31 21:06:19 njoly Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.16 2007/10/27 09:16:24 njoly Exp
* created from NetBSD: syscalls.master,v 1.17 2007/10/31 21:04:02 njoly Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.18 2007/10/27 09:17:50 njoly Exp $");
__KERNEL_RCSID(0, "$NetBSD: linux32_sysent.c,v 1.19 2007/10/31 21:06:19 njoly Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_43.h"
@ -54,20 +54,20 @@ struct sysent linux32_sysent[] = {
linux32_sys_waitpid }, /* 7 = waitpid */
{ 2, s(struct linux32_sys_creat_args), 0,
linux32_sys_creat }, /* 8 = creat */
{ 2, s(struct linux32_sys_link_args), 0,
linux32_sys_link }, /* 9 = link */
{ 2, s(struct netbsd32_link_args), 0,
netbsd32_link }, /* 9 = netbsd32_link */
{ 1, s(struct linux32_sys_unlink_args), 0,
linux32_sys_unlink }, /* 10 = unlink */
{ 3, s(struct netbsd32_execve_args), 0,
netbsd32_execve }, /* 11 = netbsd32_execve */
{ 1, s(struct linux32_sys_chdir_args), 0,
linux32_sys_chdir }, /* 12 = chdir */
{ 1, s(struct netbsd32_chdir_args), 0,
netbsd32_chdir }, /* 12 = netbsd32_chdir */
{ 1, s(struct linux32_sys_time_args), 0,
linux32_sys_time }, /* 13 = time */
{ 3, s(struct linux32_sys_mknod_args), 0,
linux32_sys_mknod }, /* 14 = mknod */
{ 2, s(struct linux32_sys_chmod_args), 0,
linux32_sys_chmod }, /* 15 = chmod */
{ 2, s(struct netbsd32_chmod_args), 0,
netbsd32_chmod }, /* 15 = netbsd32_chmod */
{ 3, s(struct linux32_sys_lchown16_args), 0,
linux32_sys_lchown16 }, /* 16 = lchown16 */
{ 1, s(struct linux32_sys_break_args), 0,
@ -102,8 +102,8 @@ struct sysent linux32_sysent[] = {
linux_sys_nosys }, /* 31 = obsolete stty */
{ 0, 0, 0,
linux_sys_nosys }, /* 32 = obsolete gtty */
{ 2, s(struct linux32_sys_access_args), 0,
linux32_sys_access }, /* 33 = access */
{ 2, s(struct netbsd32_access_args), 0,
netbsd32_access }, /* 33 = netbsd32_access */
{ 1, s(struct linux_sys_nice_args), 0,
linux_sys_nice }, /* 34 = nice */
{ 0, 0, 0,
@ -114,10 +114,10 @@ struct sysent linux32_sysent[] = {
linux32_sys_kill }, /* 37 = kill */
{ 2, s(struct linux32_sys_rename_args), 0,
linux32_sys_rename }, /* 38 = rename */
{ 2, s(struct linux32_sys_mkdir_args), 0,
linux32_sys_mkdir }, /* 39 = mkdir */
{ 1, s(struct linux32_sys_rmdir_args), 0,
linux32_sys_rmdir }, /* 40 = rmdir */
{ 2, s(struct netbsd32_mkdir_args), 0,
netbsd32_mkdir }, /* 39 = netbsd32_mkdir */
{ 1, s(struct netbsd32_rmdir_args), 0,
netbsd32_rmdir }, /* 40 = netbsd32_rmdir */
{ 1, s(struct netbsd32_dup_args), 0,
netbsd32_dup }, /* 41 = netbsd32_dup */
{ 1, s(struct linux32_sys_pipe_args), 0,
@ -202,8 +202,8 @@ struct sysent linux32_sysent[] = {
linux32_sys_setgroups16 }, /* 81 = setgroups16 */
{ 1, s(struct linux32_sys_oldselect_args), 0,
linux32_sys_oldselect }, /* 82 = oldselect */
{ 2, s(struct linux32_sys_symlink_args), 0,
linux32_sys_symlink }, /* 83 = symlink */
{ 2, s(struct netbsd32_symlink_args), 0,
netbsd32_symlink }, /* 83 = netbsd32_symlink */
{ 2, s(struct compat_43_netbsd32_lstat43_args), 0,
compat_43_netbsd32_lstat43 }, /* 84 = compat_43_netbsd32_lstat43 */
{ 3, s(struct linux32_sys_readlink_args), 0,