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 syscall definitions - the compat_n...
details: https://anonhg.NetBSD.org/src/rev/6bc8f7591537
branches: trunk
changeset: 342030:6bc8f7591537
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu Dec 03 10:39:50 2015 +0000
description:
Regen syscall definitions - the compat_netbsd32 sysv-ipc stuff is now
modular and can be autoloaded when needed
diffstat:
sys/compat/netbsd32/netbsd32_syscall.h | 61 +---------
sys/compat/netbsd32/netbsd32_syscallargs.h | 76 +-----------
sys/compat/netbsd32/netbsd32_syscalls.c | 121 +------------------
sys/compat/netbsd32/netbsd32_syscalls_autoload.c | 27 +++-
sys/compat/netbsd32/netbsd32_sysent.c | 148 +++-------------------
sys/compat/netbsd32/netbsd32_systrace_args.c | 110 +----------------
6 files changed, 56 insertions(+), 487 deletions(-)
diffs (truncated from 1402 to 300 lines):
diff -r 473fbf201ae2 -r 6bc8f7591537 sys/compat/netbsd32/netbsd32_syscall.h
--- a/sys/compat/netbsd32/netbsd32_syscall.h Thu Dec 03 10:38:21 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscall.h Thu Dec 03 10:39:50 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.121 2015/12/01 23:57:19 pgoyette Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.122 2015/12/03 10:39:50 pgoyette Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.111 2015/12/01 23:56:43 pgoyette Exp
+ * created from NetBSD: syscalls.master,v 1.112 2015/12/03 10:38:21 pgoyette Exp
*/
#ifndef _NETBSD32_SYS_SYSCALL_H_
@@ -468,27 +468,15 @@
/* syscall: "netbsd32_sysarch" ret: "int" args: "int" "netbsd32_voidp" */
#define NETBSD32_SYS_netbsd32_sysarch 165
-#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
/* syscall: "compat_10_osemsys" ret: "int" args: "int" "int" "int" "int" "int" */
#define NETBSD32_SYS_compat_10_osemsys 169
-#else
- /* 169 is excluded netbsd32_semsys */
-#endif
-#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
/* syscall: "compat_10_omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
#define NETBSD32_SYS_compat_10_omsgsys 170
-#else
- /* 170 is excluded netbsd32_msgsys */
-#endif
-#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
/* syscall: "compat_10_oshmsys" ret: "int" args: "int" "int" "int" "int" */
#define NETBSD32_SYS_compat_10_oshmsys 171
-#else
- /* 171 is excluded netbsd32_shmsys */
-#endif
/* syscall: "netbsd32_pread" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "int" "netbsd32_off_t" */
#define NETBSD32_SYS_netbsd32_pread 173
@@ -582,7 +570,6 @@
/* syscall: "netbsd32_poll" ret: "int" args: "netbsd32_pollfdp_t" "u_int" "int" */
#define NETBSD32_SYS_netbsd32_poll 209
-#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
/* syscall: "compat_14_netbsd32___semctl" ret: "int" args: "int" "int" "int" "netbsd32_semunu_t" */
#define NETBSD32_SYS_compat_14_netbsd32___semctl 220
@@ -595,13 +582,6 @@
/* syscall: "netbsd32_semconfig" ret: "int" args: "int" */
#define NETBSD32_SYS_netbsd32_semconfig 223
-#else
- /* 220 is excluded compat_14_netbsd32_semctl */
- /* 221 is excluded netbsd32_semget */
- /* 222 is excluded netbsd32_semop */
- /* 223 is excluded netbsd32_semconfig */
-#endif
-#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
/* syscall: "compat_14_netbsd32_msgctl" ret: "int" args: "int" "int" "netbsd32_msqid_ds14p_t" */
#define NETBSD32_SYS_compat_14_netbsd32_msgctl 224
@@ -614,13 +594,6 @@
/* syscall: "netbsd32_msgrcv" ret: "netbsd32_ssize_t" args: "int" "netbsd32_voidp" "netbsd32_size_t" "netbsd32_long" "int" */
#define NETBSD32_SYS_netbsd32_msgrcv 227
-#else
- /* 224 is excluded compat_14_netbsd32_msgctl */
- /* 225 is excluded netbsd32_msgget */
- /* 226 is excluded netbsd32_msgsnd */
- /* 227 is excluded netbsd32_msgrcv */
-#endif
-#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
/* syscall: "netbsd32_shmat" ret: "netbsd32_voidp" args: "int" "netbsd32_voidp" "int" */
#define NETBSD32_SYS_netbsd32_shmat 228
@@ -633,12 +606,6 @@
/* syscall: "netbsd32_shmget" ret: "int" args: "netbsd32_key_t" "netbsd32_size_t" "int" */
#define NETBSD32_SYS_netbsd32_shmget 231
-#else
- /* 228 is excluded netbsd32_shmat */
- /* 229 is excluded compat_14_netbsd32_shmctl */
- /* 230 is excluded netbsd32_shmdt */
- /* 231 is excluded netbsd32_shmget */
-#endif
/* syscall: "compat_50_netbsd32_clock_gettime" ret: "int" args: "netbsd32_clockid_t" "netbsd32_timespec50p_t" */
#define NETBSD32_SYS_compat_50_netbsd32_clock_gettime 232
@@ -837,27 +804,15 @@
/* syscall: "compat_20_netbsd32_fhstatfs" ret: "int" args: "netbsd32_fhandlep_t" "netbsd32_stat50p_t" */
#define NETBSD32_SYS_compat_20_netbsd32_fhstatfs 300
-#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
/* syscall: "compat_50_netbsd32___semctl14" ret: "int" args: "int" "int" "int" "..." */
#define NETBSD32_SYS_compat_50_netbsd32___semctl14 301
-#else
- /* 301 is excluded __semctl14 */
-#endif
-#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
/* syscall: "compat_50_netbsd32___msgctl13" ret: "int" args: "int" "int" "netbsd32_msqid_ds50p_t" */
#define NETBSD32_SYS_compat_50_netbsd32___msgctl13 302
-#else
- /* 302 is excluded __msgctl13 */
-#endif
-#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
/* syscall: "compat_50_netbsd32___shmctl13" ret: "int" args: "int" "int" "netbsd32_shmid_ds50p_t" */
#define NETBSD32_SYS_compat_50_netbsd32___shmctl13 303
-#else
- /* 303 is excluded __shmctl13 */
-#endif
/* syscall: "netbsd32_lchflags" ret: "int" args: "netbsd32_charp" "netbsd32_u_long" */
#define NETBSD32_SYS_netbsd32_lchflags 304
@@ -1186,27 +1141,15 @@
/* syscall: "netbsd32___lstat50" ret: "int" args: "const netbsd32_charp" "netbsd32_statp_t" */
#define NETBSD32_SYS_netbsd32___lstat50 441
-#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
/* syscall: "netbsd32_____semctl50" ret: "int" args: "int" "int" "int" "..." */
#define NETBSD32_SYS_netbsd32_____semctl50 442
-#else
- /* 442 is excluded ____semctl50 */
-#endif
-#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
/* syscall: "netbsd32___shmctl50" ret: "int" args: "int" "int" "netbsd32_shmid_dsp_t" */
#define NETBSD32_SYS_netbsd32___shmctl50 443
-#else
- /* 443 is excluded ____shmctl50 */
-#endif
-#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
/* syscall: "netbsd32___msgctl50" ret: "int" args: "int" "int" "netbsd32_msqid_dsp_t" */
#define NETBSD32_SYS_netbsd32___msgctl50 444
-#else
- /* 444 is excluded ____msgctl50 */
-#endif
/* syscall: "netbsd32___getrusage50" ret: "int" args: "int" "netbsd32_rusagep_t" */
#define NETBSD32_SYS_netbsd32___getrusage50 445
diff -r 473fbf201ae2 -r 6bc8f7591537 sys/compat/netbsd32/netbsd32_syscallargs.h
--- a/sys/compat/netbsd32/netbsd32_syscallargs.h Thu Dec 03 10:38:21 2015 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscallargs.h Thu Dec 03 10:39:50 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.121 2015/12/01 23:57:19 pgoyette Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.122 2015/12/03 10:39:50 pgoyette Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.111 2015/12/01 23:56:43 pgoyette Exp
+ * created from NetBSD: syscalls.master,v 1.112 2015/12/03 10:38:21 pgoyette Exp
*/
#ifndef _NETBSD32_SYS_SYSCALLARGS_H_
@@ -870,7 +870,6 @@
syscallarg(netbsd32_voidp) parms;
};
check_syscall_args(netbsd32_sysarch)
-#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
struct compat_10_netbsd32_semsys_args {
syscallarg(int) which;
@@ -880,9 +879,6 @@
syscallarg(int) a5;
};
check_syscall_args(compat_10_netbsd32_semsys)
-#else
-#endif
-#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
struct compat_10_netbsd32_msgsys_args {
syscallarg(int) which;
@@ -893,9 +889,6 @@
syscallarg(int) a6;
};
check_syscall_args(compat_10_netbsd32_msgsys)
-#else
-#endif
-#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
struct compat_10_netbsd32_shmsys_args {
syscallarg(int) which;
@@ -904,8 +897,6 @@
syscallarg(int) a4;
};
check_syscall_args(compat_10_netbsd32_shmsys)
-#else
-#endif
struct netbsd32_pread_args {
syscallarg(int) fd;
@@ -1091,7 +1082,6 @@
syscallarg(int) timeout;
};
check_syscall_args(netbsd32_poll)
-#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
struct compat_14_netbsd32___semctl_args {
syscallarg(int) semid;
@@ -1119,9 +1109,6 @@
syscallarg(int) flag;
};
check_syscall_args(netbsd32_semconfig)
-#else
-#endif
-#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
struct compat_14_netbsd32_msgctl_args {
syscallarg(int) msqid;
@@ -1152,9 +1139,6 @@
syscallarg(int) msgflg;
};
check_syscall_args(netbsd32_msgrcv)
-#else
-#endif
-#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
struct netbsd32_shmat_args {
syscallarg(int) shmid;
@@ -1181,8 +1165,6 @@
syscallarg(int) shmflg;
};
check_syscall_args(netbsd32_shmget)
-#else
-#endif
struct compat_50_netbsd32_clock_gettime_args {
syscallarg(netbsd32_clockid_t) clock_id;
@@ -1588,7 +1570,6 @@
syscallarg(netbsd32_stat50p_t) buf;
};
check_syscall_args(compat_20_netbsd32_fhstatfs)
-#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
struct compat_50_netbsd32___semctl14_args {
syscallarg(int) semid;
@@ -1597,9 +1578,6 @@
syscallarg(netbsd32_semun50p_t) arg;
};
check_syscall_args(compat_50_netbsd32___semctl14)
-#else
-#endif
-#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
struct compat_50_netbsd32___msgctl13_args {
syscallarg(int) msqid;
@@ -1607,9 +1585,6 @@
syscallarg(netbsd32_msqid_ds50p_t) buf;
};
check_syscall_args(compat_50_netbsd32___msgctl13)
-#else
-#endif
-#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
struct compat_50_netbsd32___shmctl13_args {
syscallarg(int) shmid;
@@ -1617,8 +1592,6 @@
syscallarg(netbsd32_shmid_ds50p_t) buf;
};
check_syscall_args(compat_50_netbsd32___shmctl13)
-#else
-#endif
struct netbsd32_lchflags_args {
syscallarg(netbsd32_charp) path;
@@ -2331,7 +2304,6 @@
syscallarg(netbsd32_statp_t) ub;
};
check_syscall_args(netbsd32___lstat50)
-#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
struct netbsd32_____semctl50_args {
syscallarg(int) semid;
@@ -2340,9 +2312,6 @@
syscallarg(netbsd32_semunp_t) arg;
};
check_syscall_args(netbsd32_____semctl50)
-#else
-#endif
-#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
struct netbsd32___shmctl50_args {
syscallarg(int) shmid;
@@ -2350,9 +2319,6 @@
syscallarg(netbsd32_shmid_dsp_t) buf;
};
check_syscall_args(netbsd32___shmctl50)
-#else
-#endif
Home |
Main Index |
Thread Index |
Old Index