Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Regen
details: https://anonhg.NetBSD.org/src/rev/74f31af7f012
branches: trunk
changeset: 473601:74f31af7f012
user: christos <christos%NetBSD.org@localhost>
date: Wed Jun 09 04:25:54 1999 +0000
description:
Regen
diffstat:
sys/kern/init_sysent.c | 115 +++++++++++++++++++++++-------------------------
sys/kern/syscalls.c | 98 ++++++++++++++++++++---------------------
2 files changed, 102 insertions(+), 111 deletions(-)
diffs (truncated from 481 to 300 lines):
diff -r c2c9ec59384b -r 74f31af7f012 sys/kern/init_sysent.c
--- a/sys/kern/init_sysent.c Wed Jun 09 04:25:30 1999 +0000
+++ b/sys/kern/init_sysent.c Wed Jun 09 04:25:54 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: init_sysent.c,v 1.105 1999/06/08 03:08:32 thorpej Exp $ */
+/* $NetBSD: init_sysent.c,v 1.106 1999/06/09 04:25:54 christos Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.90 1999/03/28 17:29:52 kleink Exp
+ * created from NetBSD: syscalls.master,v 1.92 1999/06/09 04:25:30 christos Exp
*/
#include "opt_ktrace.h"
@@ -149,12 +149,12 @@
sys_getegid }, /* 43 = getegid */
{ 4, s(struct sys_profil_args),
sys_profil }, /* 44 = profil */
-#ifdef KTRACE
+#if defined(KTRACE) || !defined(_KERNEL)
{ 4, s(struct sys_ktrace_args),
sys_ktrace }, /* 45 = ktrace */
#else
{ 0, 0,
- sys_nosys }, /* 45 = unimplemented ktrace */
+ sys_nosys }, /* 45 = excluded ktrace */
#endif
{ 3, s(struct compat_13_sys_sigaction_args),
compat_13(sys_sigaction) }, /* 46 = compat_13 sigaction13 */
@@ -294,13 +294,8 @@
compat_43(sys_recvmsg) }, /* 113 = compat_43 orecvmsg */
{ 3, s(struct compat_43_sys_sendmsg_args),
compat_43(sys_sendmsg) }, /* 114 = compat_43 osendmsg */
-#ifdef TRACE
- { 2, s(struct sys_vtrace_args),
- sys_vtrace }, /* 115 = vtrace */
-#else
{ 0, 0,
sys_nosys }, /* 115 = obsolete vtrace */
-#endif
{ 2, s(struct sys_gettimeofday_args),
sys_gettimeofday }, /* 116 = gettimeofday */
{ 2, s(struct sys_getrusage_args),
@@ -379,12 +374,12 @@
sys_nosys }, /* 153 = unimplemented */
{ 0, 0,
sys_nosys }, /* 154 = unimplemented */
-#if defined(NFS) || defined(NFSSERVER)
+#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
{ 2, s(struct sys_nfssvc_args),
sys_nfssvc }, /* 155 = nfssvc */
#else
{ 0, 0,
- sys_nosys }, /* 155 = unimplemented */
+ sys_nosys }, /* 155 = excluded nfssvc */
#endif
{ 4, s(struct compat_43_sys_getdirentries_args),
compat_43(sys_getdirentries) }, /* 156 = compat_43 ogetdirentries */
@@ -396,12 +391,12 @@
sys_nosys }, /* 159 = unimplemented */
{ 0, 0,
sys_nosys }, /* 160 = unimplemented */
-#if defined(NFS) || defined(NFSSERVER)
+#if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
{ 2, s(struct sys_getfh_args),
sys_getfh }, /* 161 = getfh */
#else
{ 0, 0,
- sys_nosys }, /* 161 = unimplemented getfh */
+ sys_nosys }, /* 161 = excluded getfh */
#endif
{ 2, s(struct compat_09_sys_getdomainname_args),
compat_09(sys_getdomainname) }, /* 162 = compat_09 ogetdomainname */
@@ -417,26 +412,26 @@
sys_nosys }, /* 167 = unimplemented */
{ 0, 0,
sys_nosys }, /* 168 = unimplemented */
-#if defined(SYSVSEM) && !defined(alpha)
+#if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha)
{ 5, s(struct compat_10_sys_semsys_args),
compat_10(sys_semsys) }, /* 169 = compat_10 osemsys */
#else
{ 0, 0,
- sys_nosys }, /* 169 = unimplemented 1.0 semsys */
+ sys_nosys }, /* 169 = excluded 1.0 semsys */
#endif
-#if defined(SYSVMSG) && !defined(alpha)
+#if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha)
{ 6, s(struct compat_10_sys_msgsys_args),
compat_10(sys_msgsys) }, /* 170 = compat_10 omsgsys */
#else
{ 0, 0,
- sys_nosys }, /* 170 = unimplemented 1.0 msgsys */
+ sys_nosys }, /* 170 = excluded 1.0 msgsys */
#endif
-#if defined(SYSVSHM) && !defined(alpha)
+#if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha)
{ 4, s(struct compat_10_sys_shmsys_args),
compat_10(sys_shmsys) }, /* 171 = compat_10 oshmsys */
#else
{ 0, 0,
- sys_nosys }, /* 171 = unimplemented 1.0 shmsys */
+ sys_nosys }, /* 171 = excluded 1.0 shmsys */
#endif
{ 0, 0,
sys_nosys }, /* 172 = unimplemented */
@@ -462,24 +457,24 @@
sys_setegid }, /* 182 = setegid */
{ 1, s(struct sys_seteuid_args),
sys_seteuid }, /* 183 = seteuid */
-#ifdef LFS
- { 3, s(struct lfs_bmapv_args),
- lfs_bmapv }, /* 184 = lfs_bmapv */
- { 3, s(struct lfs_markv_args),
- lfs_markv }, /* 185 = lfs_markv */
- { 2, s(struct lfs_segclean_args),
- lfs_segclean }, /* 186 = lfs_segclean */
- { 2, s(struct lfs_segwait_args),
- lfs_segwait }, /* 187 = lfs_segwait */
+#if defined(LFS) || !defined(_KERNEL)
+ { 3, s(struct sys_lfs_bmapv_args),
+ sys_lfs_bmapv }, /* 184 = lfs_bmapv */
+ { 3, s(struct sys_lfs_markv_args),
+ sys_lfs_markv }, /* 185 = lfs_markv */
+ { 2, s(struct sys_lfs_segclean_args),
+ sys_lfs_segclean }, /* 186 = lfs_segclean */
+ { 2, s(struct sys_lfs_segwait_args),
+ sys_lfs_segwait }, /* 187 = lfs_segwait */
#else
{ 0, 0,
- sys_nosys }, /* 184 = unimplemented */
+ sys_nosys }, /* 184 = excluded lfs_bmapv */
{ 0, 0,
- sys_nosys }, /* 185 = unimplemented */
+ sys_nosys }, /* 185 = excluded lfs_markv */
{ 0, 0,
- sys_nosys }, /* 186 = unimplemented */
+ sys_nosys }, /* 186 = excluded lfs_segclean */
{ 0, 0,
- sys_nosys }, /* 187 = unimplemented */
+ sys_nosys }, /* 187 = excluded lfs_segwait */
#endif
{ 2, s(struct compat_12_sys_stat_args),
compat_12(sys_stat) }, /* 188 = compat_12 stat12 */
@@ -525,7 +520,7 @@
sys_reboot }, /* 208 = reboot */
{ 3, s(struct sys_poll_args),
sys_poll }, /* 209 = poll */
-#ifdef LKM
+#if defined(LKM) || !defined(_KERNEL)
{ 0, 0,
sys_lkmnosys }, /* 210 = lkmnosys */
{ 0, 0,
@@ -548,27 +543,27 @@
sys_lkmnosys }, /* 219 = lkmnosys */
#else /* !LKM */
{ 0, 0,
- sys_nosys }, /* 210 = unimplemented */
+ sys_nosys }, /* 210 = excluded lkmnosys */
{ 0, 0,
- sys_nosys }, /* 211 = unimplemented */
+ sys_nosys }, /* 211 = excluded lkmnosys */
{ 0, 0,
- sys_nosys }, /* 212 = unimplemented */
+ sys_nosys }, /* 212 = excluded lkmnosys */
{ 0, 0,
- sys_nosys }, /* 213 = unimplemented */
+ sys_nosys }, /* 213 = excluded lkmnosys */
{ 0, 0,
- sys_nosys }, /* 214 = unimplemented */
+ sys_nosys }, /* 214 = excluded lkmnosys */
{ 0, 0,
- sys_nosys }, /* 215 = unimplemented */
+ sys_nosys }, /* 215 = excluded lkmnosys */
{ 0, 0,
- sys_nosys }, /* 216 = unimplemented */
+ sys_nosys }, /* 216 = excluded lkmnosys */
{ 0, 0,
- sys_nosys }, /* 217 = unimplemented */
+ sys_nosys }, /* 217 = excluded lkmnosys */
{ 0, 0,
- sys_nosys }, /* 218 = unimplemented */
+ sys_nosys }, /* 218 = excluded lkmnosys */
{ 0, 0,
- sys_nosys }, /* 219 = unimplemented */
+ sys_nosys }, /* 219 = excluded lkmnosys */
#endif /* !LKM */
-#ifdef SYSVSEM
+#if defined(SYSVSEM) || !defined(_KERNEL)
{ 4, s(struct sys___semctl_args),
sys___semctl }, /* 220 = __semctl */
{ 3, s(struct sys_semget_args),
@@ -579,15 +574,15 @@
sys_semconfig }, /* 223 = semconfig */
#else
{ 0, 0,
- sys_nosys }, /* 220 = unimplemented semctl */
+ sys_nosys }, /* 220 = excluded semctl */
{ 0, 0,
- sys_nosys }, /* 221 = unimplemented semget */
+ sys_nosys }, /* 221 = excluded semget */
{ 0, 0,
- sys_nosys }, /* 222 = unimplemented semop */
+ sys_nosys }, /* 222 = excluded semop */
{ 0, 0,
- sys_nosys }, /* 223 = unimplemented semconfig */
+ sys_nosys }, /* 223 = excluded semconfig */
#endif
-#ifdef SYSVMSG
+#if defined(SYSVMSG) || !defined(_KERNEL)
{ 3, s(struct sys_msgctl_args),
sys_msgctl }, /* 224 = msgctl */
{ 2, s(struct sys_msgget_args),
@@ -598,15 +593,15 @@
sys_msgrcv }, /* 227 = msgrcv */
#else
{ 0, 0,
- sys_nosys }, /* 224 = unimplemented msgctl */
+ sys_nosys }, /* 224 = excluded msgctl */
{ 0, 0,
- sys_nosys }, /* 225 = unimplemented msgget */
+ sys_nosys }, /* 225 = excluded msgget */
{ 0, 0,
- sys_nosys }, /* 226 = unimplemented msgsnd */
+ sys_nosys }, /* 226 = excluded msgsnd */
{ 0, 0,
- sys_nosys }, /* 227 = unimplemented msgrcv */
+ sys_nosys }, /* 227 = excluded msgrcv */
#endif
-#ifdef SYSVSHM
+#if defined(SYSVSHM) || !defined(_KERNEL)
{ 3, s(struct sys_shmat_args),
sys_shmat }, /* 228 = shmat */
{ 3, s(struct sys_shmctl_args),
@@ -617,13 +612,13 @@
sys_shmget }, /* 231 = shmget */
#else
{ 0, 0,
- sys_nosys }, /* 228 = unimplemented shmat */
+ sys_nosys }, /* 228 = excluded shmat */
{ 0, 0,
- sys_nosys }, /* 229 = unimplemented shmctl */
+ sys_nosys }, /* 229 = excluded shmctl */
{ 0, 0,
- sys_nosys }, /* 230 = unimplemented shmdt */
+ sys_nosys }, /* 230 = excluded shmdt */
{ 0, 0,
- sys_nosys }, /* 231 = unimplemented shmget */
+ sys_nosys }, /* 231 = excluded shmget */
#endif
{ 2, s(struct sys_clock_gettime_args),
sys_clock_gettime }, /* 232 = clock_gettime */
@@ -737,12 +732,12 @@
sys_getsid }, /* 286 = getsid */
{ 0, 0,
sys_nosys }, /* 287 = unimplemented */
-#ifdef KTRACE
+#if defined(KTRACE) || !defined(_KERNEL)
{ 4, s(struct sys_fktrace_args),
sys_fktrace }, /* 288 = fktrace */
#else
{ 0, 0,
- sys_nosys }, /* 288 = unimplemented */
+ sys_nosys }, /* 288 = excluded ktrace */
#endif
{ 5, s(struct sys_preadv_args),
sys_preadv }, /* 289 = preadv */
diff -r c2c9ec59384b -r 74f31af7f012 sys/kern/syscalls.c
--- a/sys/kern/syscalls.c Wed Jun 09 04:25:30 1999 +0000
+++ b/sys/kern/syscalls.c Wed Jun 09 04:25:54 1999 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: syscalls.c,v 1.99 1999/06/08 03:08:32 thorpej Exp $ */
+/* $NetBSD: syscalls.c,v 1.100 1999/06/09 04:25:54 christos Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.90 1999/03/28 17:29:52 kleink Exp
+ * created from NetBSD: syscalls.master,v 1.92 1999/06/09 04:25:30 christos Exp
*/
#if defined(_KERNEL) && !defined(_LKM)
@@ -68,10 +68,10 @@
"pipe", /* 42 = pipe */
"getegid", /* 43 = getegid */
"profil", /* 44 = profil */
-#ifdef KTRACE
+#if defined(KTRACE) || !defined(_KERNEL)
"ktrace", /* 45 = ktrace */
#else
- "#45 (unimplemented ktrace)", /* 45 = unimplemented ktrace */
+ "#45 (excluded ktrace)", /* 45 = excluded ktrace */
#endif
"compat_13_sigaction13", /* 46 = compat_13 sigaction13 */
"getgid", /* 47 = getgid */
@@ -142,11 +142,7 @@
"compat_43_osigstack", /* 112 = compat_43 osigstack */
Home |
Main Index |
Thread Index |
Old Index