This commit is contained in:
cube 2005-07-08 21:40:26 +00:00
parent dfc332d6df
commit e1c5d71d3d
4 changed files with 210 additions and 37 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_syscall.h,v 1.35 2005/07/04 00:27:15 cube Exp $ */
/* $NetBSD: netbsd32_syscall.h,v 1.36 2005/07/08 21:40:26 cube Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2005/07/04 00:26:07 cube Exp
* created from NetBSD: syscalls.master,v 1.29 2005/07/08 21:39:39 cube Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@ -845,5 +845,44 @@
/* syscall: "netbsd32_fhstatvfs1" ret: "int" args: "const netbsd32_fhandlep_t" "netbsd32_statvfsp_t" "int" */
#define netbsd32_SYS_netbsd32_fhstatvfs1 359
#define netbsd32_SYS_MAXSYSCALL 360
/* syscall: "netbsd32_extattrctl" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" "int" "const netbsd32_charp" */
#define netbsd32_SYS_netbsd32_extattrctl 360
/* syscall: "netbsd32_extattr_set_file" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" "const netbsd32_voidp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_extattr_set_file 361
/* syscall: "netbsd32_extattr_get_file" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_extattr_get_file 362
/* syscall: "netbsd32_extattr_delete_file" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" */
#define netbsd32_SYS_netbsd32_extattr_delete_file 363
/* syscall: "netbsd32_extattr_set_fd" ret: "int" args: "int" "int" "const netbsd32_charp" "const netbsd32_voidp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_extattr_set_fd 364
/* syscall: "netbsd32_extattr_get_fd" ret: "int" args: "int" "int" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_extattr_get_fd 365
/* syscall: "netbsd32_extattr_delete_fd" ret: "int" args: "int" "int" "const netbsd32_charp" */
#define netbsd32_SYS_netbsd32_extattr_delete_fd 366
/* syscall: "netbsd32_extattr_set_link" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" "const netbsd32_voidp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_extattr_set_link 367
/* syscall: "netbsd32_extattr_get_link" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" "netbsd32_voidp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_extattr_get_link 368
/* syscall: "netbsd32_extattr_delete_link" ret: "int" args: "const netbsd32_charp" "int" "const netbsd32_charp" */
#define netbsd32_SYS_netbsd32_extattr_delete_link 369
/* syscall: "netbsd32_extattr_list_fd" ret: "int" args: "int" "int" "netbsd32_voidp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_extattr_list_fd 370
/* syscall: "netbsd32_extattr_list_file" ret: "int" args: "const netbsd32_charp" "int" "netbsd32_voidp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_extattr_list_file 371
/* syscall: "netbsd32_extattr_list_link" ret: "int" args: "const netbsd32_charp" "int" "netbsd32_voidp" "netbsd32_size_t" */
#define netbsd32_SYS_netbsd32_extattr_list_link 372
#define netbsd32_SYS_MAXSYSCALL 373
#define netbsd32_SYS_NSYSENT 512

View File

@ -1,10 +1,10 @@
/* $NetBSD: netbsd32_syscallargs.h,v 1.35 2005/07/04 00:27:15 cube Exp $ */
/* $NetBSD: netbsd32_syscallargs.h,v 1.36 2005/07/08 21:40:26 cube Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2005/07/04 00:26:07 cube Exp
* created from NetBSD: syscalls.master,v 1.29 2005/07/08 21:39:39 cube Exp
*/
#ifndef _netbsd32_SYS__SYSCALLARGS_H_
@ -1312,6 +1312,101 @@ struct netbsd32_fhstatvfs1_args {
syscallarg(int) flags;
};
struct netbsd32_extattrctl_args {
syscallarg(const netbsd32_charp) path;
syscallarg(int) cmd;
syscallarg(const netbsd32_charp) filename;
syscallarg(int) attrnamespace;
syscallarg(const netbsd32_charp) attrname;
};
struct netbsd32_extattr_set_file_args {
syscallarg(const netbsd32_charp) path;
syscallarg(int) attrnamespace;
syscallarg(const netbsd32_charp) attrname;
syscallarg(const netbsd32_voidp) data;
syscallarg(netbsd32_size_t) nbytes;
};
struct netbsd32_extattr_get_file_args {
syscallarg(const netbsd32_charp) path;
syscallarg(int) attrnamespace;
syscallarg(const netbsd32_charp) attrname;
syscallarg(netbsd32_voidp) data;
syscallarg(netbsd32_size_t) nbytes;
};
struct netbsd32_extattr_delete_file_args {
syscallarg(const netbsd32_charp) path;
syscallarg(int) attrnamespace;
syscallarg(const netbsd32_charp) attrname;
};
struct netbsd32_extattr_set_fd_args {
syscallarg(int) fd;
syscallarg(int) attrnamespace;
syscallarg(const netbsd32_charp) attrname;
syscallarg(const netbsd32_voidp) data;
syscallarg(netbsd32_size_t) nbytes;
};
struct netbsd32_extattr_get_fd_args {
syscallarg(int) fd;
syscallarg(int) attrnamespace;
syscallarg(const netbsd32_charp) attrname;
syscallarg(netbsd32_voidp) data;
syscallarg(netbsd32_size_t) nbytes;
};
struct netbsd32_extattr_delete_fd_args {
syscallarg(int) fd;
syscallarg(int) attrnamespace;
syscallarg(const netbsd32_charp) attrname;
};
struct netbsd32_extattr_set_link_args {
syscallarg(const netbsd32_charp) path;
syscallarg(int) attrnamespace;
syscallarg(const netbsd32_charp) attrname;
syscallarg(const netbsd32_voidp) data;
syscallarg(netbsd32_size_t) nbytes;
};
struct netbsd32_extattr_get_link_args {
syscallarg(const netbsd32_charp) path;
syscallarg(int) attrnamespace;
syscallarg(const netbsd32_charp) attrname;
syscallarg(netbsd32_voidp) data;
syscallarg(netbsd32_size_t) nbytes;
};
struct netbsd32_extattr_delete_link_args {
syscallarg(const netbsd32_charp) path;
syscallarg(int) attrnamespace;
syscallarg(const netbsd32_charp) attrname;
};
struct netbsd32_extattr_list_fd_args {
syscallarg(int) fd;
syscallarg(int) attrnamespace;
syscallarg(netbsd32_voidp) data;
syscallarg(netbsd32_size_t) nbytes;
};
struct netbsd32_extattr_list_file_args {
syscallarg(const netbsd32_charp) path;
syscallarg(int) attrnamespace;
syscallarg(netbsd32_voidp) data;
syscallarg(netbsd32_size_t) nbytes;
};
struct netbsd32_extattr_list_link_args {
syscallarg(const netbsd32_charp) path;
syscallarg(int) attrnamespace;
syscallarg(netbsd32_voidp) data;
syscallarg(netbsd32_size_t) nbytes;
};
/*
* System call prototypes.
*/
@ -1858,4 +1953,30 @@ int netbsd32_fstatvfs1(struct lwp *, void *, register_t *);
int netbsd32_fhstatvfs1(struct lwp *, void *, register_t *);
int netbsd32_extattrctl(struct lwp *, void *, register_t *);
int netbsd32_extattr_set_file(struct lwp *, void *, register_t *);
int netbsd32_extattr_get_file(struct lwp *, void *, register_t *);
int netbsd32_extattr_delete_file(struct lwp *, void *, register_t *);
int netbsd32_extattr_set_fd(struct lwp *, void *, register_t *);
int netbsd32_extattr_get_fd(struct lwp *, void *, register_t *);
int netbsd32_extattr_delete_fd(struct lwp *, void *, register_t *);
int netbsd32_extattr_set_link(struct lwp *, void *, register_t *);
int netbsd32_extattr_get_link(struct lwp *, void *, register_t *);
int netbsd32_extattr_delete_link(struct lwp *, void *, register_t *);
int netbsd32_extattr_list_fd(struct lwp *, void *, register_t *);
int netbsd32_extattr_list_file(struct lwp *, void *, register_t *);
int netbsd32_extattr_list_link(struct lwp *, void *, register_t *);
#endif /* _netbsd32_SYS__SYSCALLARGS_H_ */

View File

@ -1,14 +1,14 @@
/* $NetBSD: netbsd32_syscalls.c,v 1.35 2005/07/04 00:27:15 cube Exp $ */
/* $NetBSD: netbsd32_syscalls.c,v 1.36 2005/07/08 21:40:26 cube Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2005/07/04 00:26:07 cube Exp
* created from NetBSD: syscalls.master,v 1.29 2005/07/08 21:39:39 cube Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.35 2005/07/04 00:27:15 cube Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.36 2005/07/08 21:40:26 cube Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@ -486,4 +486,17 @@ const char *const netbsd32_syscallnames[] = {
"netbsd32_statvfs1", /* 357 = netbsd32_statvfs1 */
"netbsd32_fstatvfs1", /* 358 = netbsd32_fstatvfs1 */
"netbsd32_fhstatvfs1", /* 359 = netbsd32_fhstatvfs1 */
"netbsd32_extattrctl", /* 360 = netbsd32_extattrctl */
"netbsd32_extattr_set_file", /* 361 = netbsd32_extattr_set_file */
"netbsd32_extattr_get_file", /* 362 = netbsd32_extattr_get_file */
"netbsd32_extattr_delete_file", /* 363 = netbsd32_extattr_delete_file */
"netbsd32_extattr_set_fd", /* 364 = netbsd32_extattr_set_fd */
"netbsd32_extattr_get_fd", /* 365 = netbsd32_extattr_get_fd */
"netbsd32_extattr_delete_fd", /* 366 = netbsd32_extattr_delete_fd */
"netbsd32_extattr_set_link", /* 367 = netbsd32_extattr_set_link */
"netbsd32_extattr_get_link", /* 368 = netbsd32_extattr_get_link */
"netbsd32_extattr_delete_link", /* 369 = netbsd32_extattr_delete_link */
"netbsd32_extattr_list_fd", /* 370 = netbsd32_extattr_list_fd */
"netbsd32_extattr_list_file", /* 371 = netbsd32_extattr_list_file */
"netbsd32_extattr_list_link", /* 372 = netbsd32_extattr_list_link */
};

View File

@ -1,14 +1,14 @@
/* $NetBSD: netbsd32_sysent.c,v 1.35 2005/07/04 00:27:15 cube Exp $ */
/* $NetBSD: netbsd32_sysent.c,v 1.36 2005/07/08 21:40:26 cube Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.28 2005/07/04 00:26:07 cube Exp
* created from NetBSD: syscalls.master,v 1.29 2005/07/08 21:39:39 cube Exp
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.35 2005/07/04 00:27:15 cube Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.36 2005/07/08 21:40:26 cube Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
@ -946,32 +946,32 @@ struct sysent netbsd32_sysent[] = {
netbsd32_fstatvfs1 }, /* 358 = netbsd32_fstatvfs1 */
{ 3, s(struct netbsd32_fhstatvfs1_args), 0,
netbsd32_fhstatvfs1 }, /* 359 = netbsd32_fhstatvfs1 */
{ 0, 0, 0,
sys_nosys }, /* 360 = filler */
{ 0, 0, 0,
sys_nosys }, /* 361 = filler */
{ 0, 0, 0,
sys_nosys }, /* 362 = filler */
{ 0, 0, 0,
sys_nosys }, /* 363 = filler */
{ 0, 0, 0,
sys_nosys }, /* 364 = filler */
{ 0, 0, 0,
sys_nosys }, /* 365 = filler */
{ 0, 0, 0,
sys_nosys }, /* 366 = filler */
{ 0, 0, 0,
sys_nosys }, /* 367 = filler */
{ 0, 0, 0,
sys_nosys }, /* 368 = filler */
{ 0, 0, 0,
sys_nosys }, /* 369 = filler */
{ 0, 0, 0,
sys_nosys }, /* 370 = filler */
{ 0, 0, 0,
sys_nosys }, /* 371 = filler */
{ 0, 0, 0,
sys_nosys }, /* 372 = filler */
{ 5, s(struct netbsd32_extattrctl_args), 0,
netbsd32_extattrctl }, /* 360 = netbsd32_extattrctl */
{ 5, s(struct netbsd32_extattr_set_file_args), 0,
netbsd32_extattr_set_file }, /* 361 = netbsd32_extattr_set_file */
{ 5, s(struct netbsd32_extattr_get_file_args), 0,
netbsd32_extattr_get_file }, /* 362 = netbsd32_extattr_get_file */
{ 3, s(struct netbsd32_extattr_delete_file_args), 0,
netbsd32_extattr_delete_file }, /* 363 = netbsd32_extattr_delete_file */
{ 5, s(struct netbsd32_extattr_set_fd_args), 0,
netbsd32_extattr_set_fd }, /* 364 = netbsd32_extattr_set_fd */
{ 5, s(struct netbsd32_extattr_get_fd_args), 0,
netbsd32_extattr_get_fd }, /* 365 = netbsd32_extattr_get_fd */
{ 3, s(struct netbsd32_extattr_delete_fd_args), 0,
netbsd32_extattr_delete_fd }, /* 366 = netbsd32_extattr_delete_fd */
{ 5, s(struct netbsd32_extattr_set_link_args), 0,
netbsd32_extattr_set_link }, /* 367 = netbsd32_extattr_set_link */
{ 5, s(struct netbsd32_extattr_get_link_args), 0,
netbsd32_extattr_get_link }, /* 368 = netbsd32_extattr_get_link */
{ 3, s(struct netbsd32_extattr_delete_link_args), 0,
netbsd32_extattr_delete_link }, /* 369 = netbsd32_extattr_delete_link */
{ 4, s(struct netbsd32_extattr_list_fd_args), 0,
netbsd32_extattr_list_fd }, /* 370 = netbsd32_extattr_list_fd */
{ 4, s(struct netbsd32_extattr_list_file_args), 0,
netbsd32_extattr_list_file }, /* 371 = netbsd32_extattr_list_file */
{ 4, s(struct netbsd32_extattr_list_link_args), 0,
netbsd32_extattr_list_link }, /* 372 = netbsd32_extattr_list_link */
{ 0, 0, 0,
sys_nosys }, /* 373 = filler */
{ 0, 0, 0,