Module Name: src Committed By: pgoyette Date: Sat Sep 29 01:38:32 UTC 2018
Modified Files: src/sys/compat/aoutm68k [pgoyette-compat]: aoutm68k_syscall.h aoutm68k_syscallargs.h aoutm68k_syscalls.c aoutm68k_sysent.c Log Message: Regen To generate a diff of this commit: cvs rdiff -u -r1.52.2.1 -r1.52.2.2 src/sys/compat/aoutm68k/aoutm68k_syscall.h cvs rdiff -u -r1.50.2.1 -r1.50.2.2 \ src/sys/compat/aoutm68k/aoutm68k_syscallargs.h cvs rdiff -u -r1.49.2.1 -r1.49.2.2 \ src/sys/compat/aoutm68k/aoutm68k_syscalls.c cvs rdiff -u -r1.54.2.1 -r1.54.2.2 src/sys/compat/aoutm68k/aoutm68k_sysent.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/compat/aoutm68k/aoutm68k_syscall.h diff -u src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.52.2.1 src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.52.2.2 --- src/sys/compat/aoutm68k/aoutm68k_syscall.h:1.52.2.1 Thu Sep 6 06:55:45 2018 +++ src/sys/compat/aoutm68k/aoutm68k_syscall.h Sat Sep 29 01:38:32 2018 @@ -1,10 +1,10 @@ -/* $NetBSD: aoutm68k_syscall.h,v 1.52.2.1 2018/09/06 06:55:45 pgoyette Exp $ */ +/* $NetBSD: aoutm68k_syscall.h,v 1.52.2.2 2018/09/29 01:38:32 pgoyette Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.41 2018/01/06 16:41:23 kamil Exp + * created from NetBSD: syscalls.master,v 1.41.2.1 2018/09/29 01:37:26 pgoyette Exp */ #ifndef _AOUTM68K_SYS_SYSCALL_H_ @@ -352,9 +352,13 @@ /* syscall: "setpriority" ret: "int" args: "int" "int" "int" */ #define AOUTM68K_SYS_setpriority 96 +#if defined(COMPAT_30) || !defined(_KERNEL) /* syscall: "socket" ret: "int" args: "int" "int" "int" */ #define AOUTM68K_SYS_socket 97 +#else + /* 97 is excluded compat_30_sys_socket */ +#endif /* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "int" */ #define AOUTM68K_SYS_connect 98 @@ -580,9 +584,13 @@ #else /* 158 is excluded compat_20_sys_statfs */ #endif +#if defined(COMPAT_30) || !defined(_KERNEL) /* syscall: "getfh" ret: "int" args: "const char *" "struct compat_30_fhandle *" */ #define AOUTM68K_SYS_getfh 161 +#else + /* 161 is excluded compat_30_sys_getfh */ +#endif #if defined(COMPAT_09) || !defined(_KERNEL) /* syscall: "ogetdomainname" ret: "int" args: "char *" "int" */ #define AOUTM68K_SYS_ogetdomainname 162 @@ -908,9 +916,13 @@ /* syscall: "fchroot" ret: "int" args: "int" */ #define AOUTM68K_SYS_fchroot 297 +#if defined(COMPAT_30) || ! defined(_KERNEL) /* syscall: "fhopen" ret: "int" args: "const struct compat_30_fhandle *" "int" */ #define AOUTM68K_SYS_fhopen 298 +#else + /* 298 is excluded compat_30_sys_fhopen */ +#endif /* syscall: "fhstat" ret: "int" args: "const struct compat_30_fhandle *" "struct aoutm68k_stat *" */ #define AOUTM68K_SYS_fhstat 299 Index: src/sys/compat/aoutm68k/aoutm68k_syscallargs.h diff -u src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.50.2.1 src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.50.2.2 --- src/sys/compat/aoutm68k/aoutm68k_syscallargs.h:1.50.2.1 Thu Sep 6 06:55:45 2018 +++ src/sys/compat/aoutm68k/aoutm68k_syscallargs.h Sat Sep 29 01:38:32 2018 @@ -1,10 +1,10 @@ -/* $NetBSD: aoutm68k_syscallargs.h,v 1.50.2.1 2018/09/06 06:55:45 pgoyette Exp $ */ +/* $NetBSD: aoutm68k_syscallargs.h,v 1.50.2.2 2018/09/29 01:38:32 pgoyette Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.41 2018/01/06 16:41:23 kamil Exp + * created from NetBSD: syscalls.master,v 1.41.2.1 2018/09/29 01:37:26 pgoyette Exp */ #ifndef _AOUTM68K_SYS_SYSCALLARGS_H_ @@ -239,8 +239,11 @@ struct compat_50_sys_select_args; struct sys_fsync_args; struct sys_setpriority_args; +#if defined(COMPAT_30) || !defined(_KERNEL) struct compat_30_sys_socket_args; +#else +#endif struct sys_connect_args; #if defined(COMPAT_43) || !defined(_KERNEL) @@ -378,8 +381,11 @@ struct compat_20_sys_statfs_args; struct compat_20_sys_fstatfs_args; #else #endif +#if defined(COMPAT_30) || !defined(_KERNEL) struct compat_30_sys_getfh_args; +#else +#endif #if defined(COMPAT_09) || !defined(_KERNEL) struct compat_09_sys_getdomainname_args; @@ -611,8 +617,11 @@ struct compat_16_sys___sigreturn14_args; struct sys___getcwd_args; struct sys_fchroot_args; +#if defined(COMPAT_30) || ! defined(_KERNEL) struct compat_30_sys_fhopen_args; +#else +#endif struct aoutm68k_sys_fhstat_args { syscallarg(const struct compat_30_fhandle *) fhp; @@ -874,8 +883,11 @@ int sys_fsync(struct lwp *, const struct int sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *); +#if defined(COMPAT_30) || !defined(_KERNEL) int compat_30_sys_socket(struct lwp *, const struct compat_30_sys_socket_args *, register_t *); +#else +#endif int sys_connect(struct lwp *, const struct sys_connect_args *, register_t *); #if defined(COMPAT_43) || !defined(_KERNEL) @@ -1019,8 +1031,11 @@ int compat_20_sys_fstatfs(struct lwp *, #else #endif +#if defined(COMPAT_30) || !defined(_KERNEL) int compat_30_sys_getfh(struct lwp *, const struct compat_30_sys_getfh_args *, register_t *); +#else +#endif #if defined(COMPAT_09) || !defined(_KERNEL) int compat_09_sys_getdomainname(struct lwp *, const struct compat_09_sys_getdomainname_args *, register_t *); @@ -1232,8 +1247,11 @@ int sys___getcwd(struct lwp *, const str int sys_fchroot(struct lwp *, const struct sys_fchroot_args *, register_t *); +#if defined(COMPAT_30) || ! defined(_KERNEL) int compat_30_sys_fhopen(struct lwp *, const struct compat_30_sys_fhopen_args *, register_t *); +#else +#endif int aoutm68k_sys_fhstat(struct lwp *, const struct aoutm68k_sys_fhstat_args *, register_t *); #if defined(COMPAT_20) || !defined(_KERNEL) Index: src/sys/compat/aoutm68k/aoutm68k_syscalls.c diff -u src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.49.2.1 src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.49.2.2 --- src/sys/compat/aoutm68k/aoutm68k_syscalls.c:1.49.2.1 Thu Sep 6 06:55:45 2018 +++ src/sys/compat/aoutm68k/aoutm68k_syscalls.c Sat Sep 29 01:38:32 2018 @@ -1,14 +1,14 @@ -/* $NetBSD: aoutm68k_syscalls.c,v 1.49.2.1 2018/09/06 06:55:45 pgoyette Exp $ */ +/* $NetBSD: aoutm68k_syscalls.c,v 1.49.2.2 2018/09/29 01:38:32 pgoyette Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.41 2018/01/06 16:41:23 kamil Exp + * created from NetBSD: syscalls.master,v 1.41.2.1 2018/09/29 01:37:26 pgoyette Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.49.2.1 2018/09/06 06:55:45 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aoutm68k_syscalls.c,v 1.49.2.2 2018/09/29 01:38:32 pgoyette Exp $"); #if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT) @@ -197,7 +197,11 @@ const char *const aoutm68k_syscallnames[ /* 94 */ "#94 (unimplemented setdopt)", /* 95 */ "fsync", /* 96 */ "setpriority", +#if defined(COMPAT_30) || !defined(_KERNEL) /* 97 */ "socket", +#else + /* 97 */ "#97 (excluded compat_30_sys_socket)", +#endif /* 98 */ "connect", #if defined(COMPAT_43) || !defined(_KERNEL) /* 99 */ "oaccept", @@ -325,7 +329,11 @@ const char *const aoutm68k_syscallnames[ #endif /* 159 */ "#159 (unimplemented)", /* 160 */ "#160 (unimplemented)", +#if defined(COMPAT_30) || !defined(_KERNEL) /* 161 */ "getfh", +#else + /* 161 */ "#161 (excluded compat_30_sys_getfh)", +#endif #if defined(COMPAT_09) || !defined(_KERNEL) /* 162 */ "ogetdomainname", /* 163 */ "osetdomainname", @@ -543,7 +551,11 @@ const char *const aoutm68k_syscallnames[ #endif /* 296 */ "__getcwd", /* 297 */ "fchroot", +#if defined(COMPAT_30) || ! defined(_KERNEL) /* 298 */ "fhopen", +#else + /* 298 */ "#298 (excluded compat_30_sys_fhopen)", +#endif /* 299 */ "fhstat", #if defined(COMPAT_20) || !defined(_KERNEL) /* 300 */ "fhstatfs", @@ -944,7 +956,11 @@ const char *const altaoutm68k_syscallnam /* 94 */ NULL, /* unimplemented setdopt */ /* 95 */ NULL, /* fsync */ /* 96 */ NULL, /* setpriority */ +#if defined(COMPAT_30) || !defined(_KERNEL) /* 97 */ NULL, /* socket */ +#else + /* 97 */ NULL, /* excluded compat_30_sys_socket */ +#endif /* 98 */ NULL, /* connect */ #if defined(COMPAT_43) || !defined(_KERNEL) /* 99 */ "accept", @@ -1072,7 +1088,11 @@ const char *const altaoutm68k_syscallnam #endif /* 159 */ NULL, /* unimplemented */ /* 160 */ NULL, /* unimplemented */ +#if defined(COMPAT_30) || !defined(_KERNEL) /* 161 */ NULL, /* getfh */ +#else + /* 161 */ NULL, /* excluded compat_30_sys_getfh */ +#endif #if defined(COMPAT_09) || !defined(_KERNEL) /* 162 */ "getdomainname", /* 163 */ "setdomainname", @@ -1290,7 +1310,11 @@ const char *const altaoutm68k_syscallnam #endif /* 296 */ NULL, /* __getcwd */ /* 297 */ NULL, /* fchroot */ +#if defined(COMPAT_30) || ! defined(_KERNEL) /* 298 */ NULL, /* fhopen */ +#else + /* 298 */ NULL, /* excluded compat_30_sys_fhopen */ +#endif /* 299 */ NULL, /* fhstat */ #if defined(COMPAT_20) || !defined(_KERNEL) /* 300 */ NULL, /* fhstatfs */ Index: src/sys/compat/aoutm68k/aoutm68k_sysent.c diff -u src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.54.2.1 src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.54.2.2 --- src/sys/compat/aoutm68k/aoutm68k_sysent.c:1.54.2.1 Thu Sep 6 06:55:45 2018 +++ src/sys/compat/aoutm68k/aoutm68k_sysent.c Sat Sep 29 01:38:32 2018 @@ -1,14 +1,14 @@ -/* $NetBSD: aoutm68k_sysent.c,v 1.54.2.1 2018/09/06 06:55:45 pgoyette Exp $ */ +/* $NetBSD: aoutm68k_sysent.c,v 1.54.2.2 2018/09/29 01:38:32 pgoyette Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.41 2018/01/06 16:41:23 kamil Exp + * created from NetBSD: syscalls.master,v 1.41.2.1 2018/09/29 01:37:26 pgoyette Exp */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.54.2.1 2018/09/06 06:55:45 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aoutm68k_sysent.c,v 1.54.2.2 2018/09/29 01:38:32 pgoyette Exp $"); #if defined(_KERNEL_OPT) #include "opt_ktrace.h" @@ -563,10 +563,16 @@ struct sysent aoutm68k_sysent[] = { ns(struct sys_setpriority_args), .sy_call = (sy_call_t *)sys_setpriority }, /* 96 = setpriority */ +#if defined(COMPAT_30) || !defined(_KERNEL) { ns(struct compat_30_sys_socket_args), .sy_call = (sy_call_t *)compat_30_sys_socket }, /* 97 = socket */ +#else + { + .sy_call = sys_nosys, + }, /* 97 = filler */ +#endif { ns(struct sys_connect_args), .sy_flags = SYCALL_ARG_PTR, @@ -954,11 +960,17 @@ struct sysent aoutm68k_sysent[] = { { .sy_call = sys_nosys, }, /* 160 = filler */ +#if defined(COMPAT_30) || !defined(_KERNEL) { ns(struct compat_30_sys_getfh_args), .sy_flags = SYCALL_ARG_PTR, .sy_call = (sy_call_t *)compat_30_sys_getfh }, /* 161 = getfh */ +#else + { + .sy_call = sys_nosys, + }, /* 161 = filler */ +#endif #if defined(COMPAT_09) || !defined(_KERNEL) { ns(struct compat_09_sys_getdomainname_args), @@ -1646,11 +1658,17 @@ struct sysent aoutm68k_sysent[] = { ns(struct sys_fchroot_args), .sy_call = (sy_call_t *)sys_fchroot }, /* 297 = fchroot */ +#if defined(COMPAT_30) || ! defined(_KERNEL) { ns(struct compat_30_sys_fhopen_args), .sy_flags = SYCALL_ARG_PTR, .sy_call = (sy_call_t *)compat_30_sys_fhopen }, /* 298 = fhopen */ +#else + { + .sy_call = sys_nosys, + }, /* 298 = filler */ +#endif { ns(struct aoutm68k_sys_fhstat_args), .sy_flags = SYCALL_ARG_PTR,