Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 Regen.
details: https://anonhg.NetBSD.org/src/rev/6ca21298f1c1
branches: trunk
changeset: 567515:6ca21298f1c1
user: cube <cube%NetBSD.org@localhost>
date: Thu Jun 17 18:30:54 2004 +0000
description:
Regen.
diffstat:
sys/compat/netbsd32/netbsd32_syscall.h | 34 +++++++++----
sys/compat/netbsd32/netbsd32_syscallargs.h | 52 +++++++++++++++++----
sys/compat/netbsd32/netbsd32_syscalls.c | 33 ++++++++++--
sys/compat/netbsd32/netbsd32_sysent.c | 74 ++++++++++++++++-------------
4 files changed, 131 insertions(+), 62 deletions(-)
diffs (truncated from 408 to 300 lines):
diff -r d57011a26952 -r 6ca21298f1c1 sys/compat/netbsd32/netbsd32_syscall.h
--- a/sys/compat/netbsd32/netbsd32_syscall.h Thu Jun 17 18:29:40 2004 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscall.h Thu Jun 17 18:30:54 2004 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.31 2003/10/25 16:28:09 chs Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.32 2004/06/17 18:30:54 cube Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.25 2003/10/25 16:27:25 chs Exp
+ * created from NetBSD: syscalls.master,v 1.26 2004/06/17 18:29:40 cube Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@@ -59,8 +59,8 @@
/* syscall: "netbsd32_break" ret: "int" args: "netbsd32_charp" */
#define netbsd32_SYS_netbsd32_break 17
-/* syscall: "netbsd32_getfsstat" ret: "int" args: "netbsd32_statfsp_t" "netbsd32_long" "int" */
-#define netbsd32_SYS_netbsd32_getfsstat 18
+/* syscall: "compat_20_netbsd32_getfsstat" ret: "int" args: "netbsd32_statfsp_t" "netbsd32_long" "int" */
+#define netbsd32_SYS_compat_20_netbsd32_getfsstat 18
/* syscall: "compat_43_netbsd32_olseek" ret: "netbsd32_long" args: "int" "netbsd32_long" "int" */
#define netbsd32_SYS_compat_43_netbsd32_olseek 19
@@ -463,11 +463,11 @@
/* syscall: "compat_43_netbsd32_ogetdirentries" ret: "int" args: "int" "netbsd32_charp" "u_int" "netbsd32_longp" */
#define netbsd32_SYS_compat_43_netbsd32_ogetdirentries 156
-/* syscall: "netbsd32_statfs" ret: "int" args: "const netbsd32_charp" "netbsd32_statfsp_t" */
-#define netbsd32_SYS_netbsd32_statfs 157
+/* syscall: "compat_20_netbsd32_statfs" ret: "int" args: "const netbsd32_charp" "netbsd32_statfsp_t" */
+#define netbsd32_SYS_compat_20_netbsd32_statfs 157
-/* syscall: "netbsd32_fstatfs" ret: "int" args: "int" "netbsd32_statfsp_t" */
-#define netbsd32_SYS_netbsd32_fstatfs 158
+/* syscall: "compat_20_netbsd32_fstatfs" ret: "int" args: "int" "netbsd32_statfsp_t" */
+#define netbsd32_SYS_compat_20_netbsd32_fstatfs 158
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
/* syscall: "netbsd32_getfh" ret: "int" args: "const netbsd32_charp" "netbsd32_fhandlep_t" */
@@ -788,8 +788,8 @@
/* syscall: "netbsd32_fhstat" ret: "int" args: "const netbsd32_fhandlep_t" "netbsd32_statp_t" */
#define netbsd32_SYS_netbsd32_fhstat 299
-/* syscall: "netbsd32_fhstatfs" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_statp_t" */
-#define netbsd32_SYS_netbsd32_fhstatfs 300
+/* syscall: "compat_20_netbsd32_fhstatfs" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_statp_t" */
+#define netbsd32_SYS_compat_20_netbsd32_fhstatfs 300
#if defined(SYSVSEM) || !defined(_KERNEL)
/* syscall: "netbsd32___semctl14" ret: "int" args: "int" "int" "int" "union netbsd32_semun3 *" */
@@ -830,5 +830,17 @@
/* syscall: "netbsd32___sigaction_sigtramp" ret: "int" args: "int" "const netbsd32_sigactionp_t" "netbsd32_sigactionp_t" "netbsd32_voidp" "int" */
#define netbsd32_SYS_netbsd32___sigaction_sigtramp 340
-#define netbsd32_SYS_MAXSYSCALL 341
+/* syscall: "netbsd32_getvfsstat" ret: "int" args: "netbsd32_statvfsp_t" "netbsd32_size_t" "int" */
+#define netbsd32_SYS_netbsd32_getvfsstat 356
+
+/* syscall: "netbsd32_statvfs1" ret: "int" args: "const netbsd32_charp" "netbsd32_statvfsp_t" "int" */
+#define netbsd32_SYS_netbsd32_statvfs1 357
+
+/* syscall: "netbsd32_fstatvfs1" ret: "int" args: "int" "netbsd32_statvfsp_t" "int" */
+#define netbsd32_SYS_netbsd32_fstatvfs1 358
+
+/* 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
#define netbsd32_SYS_NSYSENT 512
diff -r d57011a26952 -r 6ca21298f1c1 sys/compat/netbsd32/netbsd32_syscallargs.h
--- a/sys/compat/netbsd32/netbsd32_syscallargs.h Thu Jun 17 18:29:40 2004 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscallargs.h Thu Jun 17 18:30:54 2004 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.31 2003/10/25 16:28:09 chs Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.32 2004/06/17 18:30:54 cube Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.25 2003/10/25 16:27:25 chs Exp
+ * created from NetBSD: syscalls.master,v 1.26 2004/06/17 18:29:40 cube Exp
*/
#ifndef _netbsd32_SYS__SYSCALLARGS_H_
@@ -103,7 +103,7 @@
syscallarg(netbsd32_charp) nsize;
};
-struct netbsd32_getfsstat_args {
+struct compat_20_netbsd32_getfsstat_args {
syscallarg(netbsd32_statfsp_t) buf;
syscallarg(netbsd32_long) bufsize;
syscallarg(int) flags;
@@ -713,12 +713,12 @@
syscallarg(netbsd32_longp) basep;
};
-struct netbsd32_statfs_args {
+struct compat_20_netbsd32_statfs_args {
syscallarg(const netbsd32_charp) path;
syscallarg(netbsd32_statfsp_t) buf;
};
-struct netbsd32_fstatfs_args {
+struct compat_20_netbsd32_fstatfs_args {
syscallarg(int) fd;
syscallarg(netbsd32_statfsp_t) buf;
};
@@ -1221,7 +1221,7 @@
syscallarg(netbsd32_statp_t) sb;
};
-struct netbsd32_fhstatfs_args {
+struct compat_20_netbsd32_fhstatfs_args {
syscallarg(netbsd32_fhandlep_t) fhp;
syscallarg(netbsd32_statp_t) buf;
};
@@ -1283,6 +1283,30 @@
syscallarg(int) vers;
};
+struct netbsd32_getvfsstat_args {
+ syscallarg(netbsd32_statvfsp_t) buf;
+ syscallarg(netbsd32_size_t) bufsize;
+ syscallarg(int) flags;
+};
+
+struct netbsd32_statvfs1_args {
+ syscallarg(const netbsd32_charp) path;
+ syscallarg(netbsd32_statvfsp_t) buf;
+ syscallarg(int) flags;
+};
+
+struct netbsd32_fstatvfs1_args {
+ syscallarg(int) fd;
+ syscallarg(netbsd32_statvfsp_t) buf;
+ syscallarg(int) flags;
+};
+
+struct netbsd32_fhstatvfs1_args {
+ syscallarg(const netbsd32_fhandlep_t) fhp;
+ syscallarg(netbsd32_statvfsp_t) buf;
+ syscallarg(int) flags;
+};
+
/*
* System call prototypes.
*/
@@ -1319,7 +1343,7 @@
int netbsd32_break(struct lwp *, void *, register_t *);
-int netbsd32_getfsstat(struct lwp *, void *, register_t *);
+int compat_20_netbsd32_getfsstat(struct lwp *, void *, register_t *);
int compat_43_netbsd32_olseek(struct lwp *, void *, register_t *);
@@ -1584,9 +1608,9 @@
#endif
int compat_43_netbsd32_ogetdirentries(struct lwp *, void *, register_t *);
-int netbsd32_statfs(struct lwp *, void *, register_t *);
+int compat_20_netbsd32_statfs(struct lwp *, void *, register_t *);
-int netbsd32_fstatfs(struct lwp *, void *, register_t *);
+int compat_20_netbsd32_fstatfs(struct lwp *, void *, register_t *);
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
int netbsd32_getfh(struct lwp *, void *, register_t *);
@@ -1790,7 +1814,7 @@
int netbsd32_fhstat(struct lwp *, void *, register_t *);
-int netbsd32_fhstatfs(struct lwp *, void *, register_t *);
+int compat_20_netbsd32_fhstatfs(struct lwp *, void *, register_t *);
#if defined(SYSVSEM) || !defined(_KERNEL)
int netbsd32___semctl14(struct lwp *, void *, register_t *);
@@ -1819,4 +1843,12 @@
int netbsd32___sigaction_sigtramp(struct lwp *, void *, register_t *);
+int netbsd32_getvfsstat(struct lwp *, void *, register_t *);
+
+int netbsd32_statvfs1(struct lwp *, void *, register_t *);
+
+int netbsd32_fstatvfs1(struct lwp *, void *, register_t *);
+
+int netbsd32_fhstatvfs1(struct lwp *, void *, register_t *);
+
#endif /* _netbsd32_SYS__SYSCALLARGS_H_ */
diff -r d57011a26952 -r 6ca21298f1c1 sys/compat/netbsd32/netbsd32_syscalls.c
--- a/sys/compat/netbsd32/netbsd32_syscalls.c Thu Jun 17 18:29:40 2004 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscalls.c Thu Jun 17 18:30:54 2004 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls.c,v 1.31 2003/10/25 16:28:09 chs Exp $ */
+/* $NetBSD: netbsd32_syscalls.c,v 1.32 2004/06/17 18:30:54 cube Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.25 2003/10/25 16:27:25 chs Exp
+ * created from NetBSD: syscalls.master,v 1.26 2004/06/17 18:29:40 cube Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.31 2003/10/25 16:28:09 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.32 2004/06/17 18:30:54 cube Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -50,7 +50,7 @@
"netbsd32_chmod", /* 15 = netbsd32_chmod */
"netbsd32_chown", /* 16 = netbsd32_chown */
"netbsd32_break", /* 17 = netbsd32_break */
- "netbsd32_getfsstat", /* 18 = netbsd32_getfsstat */
+ "compat_20_netbsd32_getfsstat", /* 18 = compat_20 netbsd32_getfsstat */
"compat_43_netbsd32_olseek", /* 19 = compat_43 netbsd32_olseek */
"getpid", /* 20 = getpid */
"netbsd32_mount", /* 21 = netbsd32_mount */
@@ -210,8 +210,8 @@
"#155 (excluded netbsd32_nfssvc)", /* 155 = excluded netbsd32_nfssvc */
#endif
"compat_43_netbsd32_ogetdirentries", /* 156 = compat_43 netbsd32_ogetdirentries */
- "netbsd32_statfs", /* 157 = netbsd32_statfs */
- "netbsd32_fstatfs", /* 158 = netbsd32_fstatfs */
+ "compat_20_netbsd32_statfs", /* 157 = compat_20 netbsd32_statfs */
+ "compat_20_netbsd32_fstatfs", /* 158 = compat_20 netbsd32_fstatfs */
"#159 (unimplemented)", /* 159 = unimplemented */
"#160 (unimplemented)", /* 160 = unimplemented */
#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
@@ -414,7 +414,7 @@
"netbsd32_fchroot", /* 297 = netbsd32_fchroot */
"netbsd32_fhopen", /* 298 = netbsd32_fhopen */
"netbsd32_fhstat", /* 299 = netbsd32_fhstat */
- "netbsd32_fhstatfs", /* 300 = netbsd32_fhstatfs */
+ "compat_20_netbsd32_fhstatfs", /* 300 = compat_20 netbsd32_fhstatfs */
#if defined(SYSVSEM) || !defined(_KERNEL)
"netbsd32___semctl14", /* 301 = netbsd32___semctl14 */
#else
@@ -467,4 +467,23 @@
"#338 (unimplemented)", /* 338 = unimplemented */
"#339 (unimplemented)", /* 339 = unimplemented */
"netbsd32___sigaction_sigtramp", /* 340 = netbsd32___sigaction_sigtramp */
+ "#341 (unimplemented)", /* 341 = unimplemented */
+ "#342 (unimplemented)", /* 342 = unimplemented */
+ "#343 (unimplemented)", /* 343 = unimplemented */
+ "#344 (unimplemented)", /* 344 = unimplemented */
+ "#345 (unimplemented)", /* 345 = unimplemented */
+ "#346 (unimplemented)", /* 346 = unimplemented */
+ "#347 (unimplemented)", /* 347 = unimplemented */
+ "#348 (unimplemented)", /* 348 = unimplemented */
+ "#349 (unimplemented)", /* 349 = unimplemented */
+ "#350 (unimplemented)", /* 350 = unimplemented */
+ "#351 (unimplemented)", /* 351 = unimplemented */
+ "#352 (unimplemented)", /* 352 = unimplemented */
+ "#353 (unimplemented)", /* 353 = unimplemented */
+ "#354 (unimplemented)", /* 354 = unimplemented */
+ "#355 (unimplemented)", /* 355 = unimplemented */
+ "netbsd32_getvfsstat", /* 356 = netbsd32_getvfsstat */
+ "netbsd32_statvfs1", /* 357 = netbsd32_statvfs1 */
+ "netbsd32_fstatvfs1", /* 358 = netbsd32_fstatvfs1 */
+ "netbsd32_fhstatvfs1", /* 359 = netbsd32_fhstatvfs1 */
};
diff -r d57011a26952 -r 6ca21298f1c1 sys/compat/netbsd32/netbsd32_sysent.c
--- a/sys/compat/netbsd32/netbsd32_sysent.c Thu Jun 17 18:29:40 2004 +0000
+++ b/sys/compat/netbsd32/netbsd32_sysent.c Thu Jun 17 18:30:54 2004 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_sysent.c,v 1.31 2003/10/25 16:28:09 chs Exp $ */
+/* $NetBSD: netbsd32_sysent.c,v 1.32 2004/06/17 18:30:54 cube Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.25 2003/10/25 16:27:25 chs Exp
+ * created from NetBSD: syscalls.master,v 1.26 2004/06/17 18:29:40 cube Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.31 2003/10/25 16:28:09 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.32 2004/06/17 18:30:54 cube Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ktrace.h"
@@ -83,6 +83,12 @@
#define compat_16(func) sys_nosys
#endif
+#ifdef COMPAT_20
+#define compat_20(func) __CONCAT(compat_20_,func)
+#else
+#define compat_20(func) sys_nosys
+#endif
Home |
Main Index |
Thread Index |
Old Index