Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/arch/arm Regen
details: https://anonhg.NetBSD.org/src/rev/863c15117c4a
branches: trunk
changeset: 336846:863c15117c4a
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Mon Mar 23 07:51:45 2015 +0000
description:
Regen
diffstat:
sys/compat/linux/arch/arm/linux_syscall.h | 4 +-
sys/compat/linux/arch/arm/linux_syscallargs.h | 4 +-
sys/compat/linux/arch/arm/linux_syscalls.c | 6 +-
sys/compat/linux/arch/arm/linux_sysent.c | 2935 ++++++++++++++++--------
4 files changed, 1912 insertions(+), 1037 deletions(-)
diffs (truncated from 3014 to 300 lines):
diff -r 4c3eb63c57be -r 863c15117c4a sys/compat/linux/arch/arm/linux_syscall.h
--- a/sys/compat/linux/arch/arm/linux_syscall.h Mon Mar 23 07:50:03 2015 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscall.h Mon Mar 23 07:51:45 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.66 2015/03/07 16:41:53 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.62 2014/11/22 13:18:45 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.63 2015/03/23 07:50:03 ozaki-r Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
diff -r 4c3eb63c57be -r 863c15117c4a sys/compat/linux/arch/arm/linux_syscallargs.h
--- a/sys/compat/linux/arch/arm/linux_syscallargs.h Mon Mar 23 07:50:03 2015 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscallargs.h Mon Mar 23 07:51:45 2015 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.66 2015/03/07 16:41:53 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.62 2014/11/22 13:18:45 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.63 2015/03/23 07:50:03 ozaki-r Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
diff -r 4c3eb63c57be -r 863c15117c4a sys/compat/linux/arch/arm/linux_syscalls.c
--- a/sys/compat/linux/arch/arm/linux_syscalls.c Mon Mar 23 07:50:03 2015 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscalls.c Mon Mar 23 07:51:45 2015 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.66 2015/03/07 16:41:53 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.62 2014/11/22 13:18:45 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.63 2015/03/23 07:50:03 ozaki-r Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.66 2015/03/07 16:41:53 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
diff -r 4c3eb63c57be -r 863c15117c4a sys/compat/linux/arch/arm/linux_sysent.c
--- a/sys/compat/linux/arch/arm/linux_sysent.c Mon Mar 23 07:50:03 2015 +0000
+++ b/sys/compat/linux/arch/arm/linux_sysent.c Mon Mar 23 07:51:45 2015 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.66 2015/03/07 16:41:53 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.62 2014/11/22 13:18:45 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.63 2015/03/23 07:50:03 ozaki-r Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.66 2015/03/07 16:41:53 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@@ -27,1037 +27,1912 @@
#define s(type) sizeof(type)
#define n(type) (sizeof(type)/sizeof (register_t))
-#define ns(type) n(type), s(type)
+#define ns(type) .sy_narg = n(type), .sy_argsize = s(type)
struct sysent linux_sysent[] = {
- { 0, 0, 0,
- (sy_call_t *)linux_sys_nosys, 0, 0 }, /* 0 = nosys */
- { ns(struct linux_sys_exit_args), 0,
- (sy_call_t *)linux_sys_exit, 0, 0 }, /* 1 = exit */
- { 0, 0, 0,
- (sy_call_t *)sys_fork, 0, 0 }, /* 2 = fork */
- { ns(struct sys_read_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_read, 0, 0 }, /* 3 = read */
- { ns(struct sys_write_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_write, 0, 0 }, /* 4 = write */
- { ns(struct linux_sys_open_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_open, 0, 0 }, /* 5 = open */
- { ns(struct sys_close_args), 0,
- (sy_call_t *)sys_close, 0, 0 }, /* 6 = close */
- { ns(struct linux_sys_waitpid_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_waitpid, 0, 0 }, /* 7 = waitpid */
- { ns(struct linux_sys_creat_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_creat, 0, 0 }, /* 8 = creat */
- { ns(struct sys_link_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_link, 0, 0 }, /* 9 = link */
- { ns(struct linux_sys_unlink_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_unlink, 0, 0 }, /* 10 = unlink */
- { ns(struct sys_execve_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_execve, 0, 0 }, /* 11 = execve */
- { ns(struct sys_chdir_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_chdir, 0, 0 }, /* 12 = chdir */
- { ns(struct linux_sys_time_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_time, 0, 0 }, /* 13 = time */
- { ns(struct linux_sys_mknod_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_mknod, 0, 0 }, /* 14 = mknod */
- { ns(struct sys_chmod_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_chmod, 0, 0 }, /* 15 = chmod */
- { ns(struct linux_sys_lchown16_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_lchown16, 0, 0 }, /* 16 = lchown16 */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 17 = obsolete break */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 18 = obsolete ostat */
- { ns(struct compat_43_sys_lseek_args), 0,
- (sy_call_t *)compat_43_sys_lseek, 0, 0 }, /* 19 = lseek */
- { 0, 0, 0,
- (sy_call_t *)sys_getpid, 0, 0 }, /* 20 = getpid */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 21 = unimplemented mount */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 22 = obsolete umount */
- { ns(struct sys_setuid_args), 0,
- (sy_call_t *)sys_setuid, 0, 0 }, /* 23 = setuid */
- { 0, 0, 0,
- (sy_call_t *)sys_getuid, 0, 0 }, /* 24 = getuid */
- { ns(struct linux_sys_stime_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_stime, 0, 0 }, /* 25 = stime */
- { ns(struct linux_sys_ptrace_args), 0,
- (sy_call_t *)linux_sys_ptrace, 0, 0 }, /* 26 = ptrace */
- { ns(struct linux_sys_alarm_args), 0,
- (sy_call_t *)linux_sys_alarm, 0, 0 }, /* 27 = alarm */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 28 = obsolete ofstat */
- { 0, 0, 0,
- (sy_call_t *)linux_sys_pause, 0, 0 }, /* 29 = pause */
- { ns(struct linux_sys_utime_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_utime, 0, 0 }, /* 30 = utime */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 31 = obsolete stty */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 32 = obsolete gtty */
- { ns(struct sys_access_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_access, 0, 0 }, /* 33 = access */
- { ns(struct linux_sys_nice_args), 0,
- (sy_call_t *)linux_sys_nice, 0, 0 }, /* 34 = nice */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 35 = obsolete ftime */
- { 0, 0, 0,
- (sy_call_t *)sys_sync, 0, 0 }, /* 36 = sync */
- { ns(struct linux_sys_kill_args), 0,
- (sy_call_t *)linux_sys_kill, 0, 0 }, /* 37 = kill */
- { ns(struct sys___posix_rename_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys___posix_rename, 0, 0 }, /* 38 = __posix_rename */
- { ns(struct sys_mkdir_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_mkdir, 0, 0 }, /* 39 = mkdir */
- { ns(struct sys_rmdir_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_rmdir, 0, 0 }, /* 40 = rmdir */
- { ns(struct sys_dup_args), 0,
- (sy_call_t *)sys_dup, 0, 0 }, /* 41 = dup */
- { ns(struct linux_sys_pipe_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_pipe, 0, 0 }, /* 42 = pipe */
- { ns(struct linux_sys_times_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_times, 0, 0 }, /* 43 = times */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 44 = obsolete prof */
- { ns(struct linux_sys_brk_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_brk, 0, 0 }, /* 45 = brk */
- { ns(struct sys_setgid_args), 0,
- (sy_call_t *)sys_setgid, 0, 0 }, /* 46 = setgid */
- { 0, 0, 0,
- (sy_call_t *)sys_getgid, 0, 0 }, /* 47 = getgid */
- { ns(struct linux_sys_signal_args), 0,
- (sy_call_t *)linux_sys_signal, 0, 0 }, /* 48 = signal */
- { 0, 0, 0,
- (sy_call_t *)sys_geteuid, 0, 0 }, /* 49 = geteuid */
- { 0, 0, 0,
- (sy_call_t *)sys_getegid, 0, 0 }, /* 50 = getegid */
- { ns(struct sys_acct_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_acct, 0, 0 }, /* 51 = acct */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 52 = unimplemented umount */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 53 = obsolete lock */
- { ns(struct linux_sys_ioctl_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_ioctl, 0, 0 }, /* 54 = ioctl */
- { ns(struct linux_sys_fcntl_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_fcntl, 0, 0 }, /* 55 = fcntl */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 56 = obsolete mpx */
- { ns(struct sys_setpgid_args), 0,
- (sy_call_t *)sys_setpgid, 0, 0 }, /* 57 = setpgid */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 58 = obsolete ulimit */
- { ns(struct linux_sys_oldolduname_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_oldolduname, 0, 0 },/* 59 = oldolduname */
- { ns(struct sys_umask_args), 0,
- (sy_call_t *)sys_umask, 0, 0 }, /* 60 = umask */
- { ns(struct sys_chroot_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_chroot, 0, 0 }, /* 61 = chroot */
- { 0, 0, 0,
- linux_sys_nosys, 0, 0 }, /* 62 = unimplemented ustat */
- { ns(struct sys_dup2_args), 0,
- (sy_call_t *)sys_dup2, 0, 0 }, /* 63 = dup2 */
- { 0, 0, 0,
- (sy_call_t *)sys_getppid, 0, 0 }, /* 64 = getppid */
- { 0, 0, 0,
- (sy_call_t *)sys_getpgrp, 0, 0 }, /* 65 = getpgrp */
- { 0, 0, 0,
- (sy_call_t *)sys_setsid, 0, 0 }, /* 66 = setsid */
- { ns(struct linux_sys_sigaction_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_sigaction, 0, 0 }, /* 67 = sigaction */
- { 0, 0, 0,
- (sy_call_t *)linux_sys_siggetmask, 0, 0 },/* 68 = siggetmask */
- { ns(struct linux_sys_sigsetmask_args), 0,
- (sy_call_t *)linux_sys_sigsetmask, 0, 0 },/* 69 = sigsetmask */
- { ns(struct linux_sys_setreuid16_args), 0,
- (sy_call_t *)linux_sys_setreuid16, 0, 0 },/* 70 = setreuid16 */
- { ns(struct linux_sys_setregid16_args), 0,
- (sy_call_t *)linux_sys_setregid16, 0, 0 },/* 71 = setregid16 */
- { ns(struct linux_sys_sigsuspend_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_sigsuspend, 0, 0 },/* 72 = sigsuspend */
- { ns(struct linux_sys_sigpending_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_sigpending, 0, 0 },/* 73 = sigpending */
- { ns(struct compat_43_sys_sethostname_args), SYCALL_ARG_PTR,
- (sy_call_t *)compat_43_sys_sethostname, 0, 0 },/* 74 = sethostname */
- { ns(struct linux_sys_setrlimit_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_setrlimit, 0, 0 }, /* 75 = setrlimit */
- { ns(struct linux_sys_getrlimit_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_getrlimit, 0, 0 }, /* 76 = getrlimit */
- { ns(struct compat_50_sys_getrusage_args), SYCALL_ARG_PTR,
- (sy_call_t *)compat_50_sys_getrusage, 0, 0 },/* 77 = getrusage */
- { ns(struct linux_sys_gettimeofday_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_gettimeofday, 0, 0 },/* 78 = gettimeofday */
- { ns(struct linux_sys_settimeofday_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_settimeofday, 0, 0 },/* 79 = settimeofday */
- { ns(struct linux_sys_getgroups16_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_getgroups16, 0, 0 },/* 80 = getgroups16 */
- { ns(struct linux_sys_setgroups16_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_setgroups16, 0, 0 },/* 81 = setgroups16 */
- { ns(struct linux_sys_oldselect_args), SYCALL_ARG_PTR,
- (sy_call_t *)linux_sys_oldselect, 0, 0 }, /* 82 = oldselect */
- { ns(struct sys_symlink_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_symlink, 0, 0 }, /* 83 = symlink */
- { ns(struct compat_43_sys_lstat_args), SYCALL_ARG_PTR,
- (sy_call_t *)compat_43_sys_lstat, 0, 0 }, /* 84 = oolstat */
- { ns(struct sys_readlink_args), SYCALL_ARG_PTR,
- (sy_call_t *)sys_readlink, 0, 0 }, /* 85 = readlink */
+ {
+ .sy_call = (sy_call_t *)linux_sys_nosys
+ }, /* 0 = nosys */
+ {
+ ns(struct linux_sys_exit_args),
+ .sy_call = (sy_call_t *)linux_sys_exit
+ }, /* 1 = exit */
+ {
+ .sy_call = (sy_call_t *)sys_fork
+ }, /* 2 = fork */
+ {
+ ns(struct sys_read_args),
+ .sy_flags = SYCALL_ARG_PTR,
+ .sy_call = (sy_call_t *)sys_read
+ }, /* 3 = read */
+ {
+ ns(struct sys_write_args),
+ .sy_flags = SYCALL_ARG_PTR,
+ .sy_call = (sy_call_t *)sys_write
+ }, /* 4 = write */
+ {
+ ns(struct linux_sys_open_args),
+ .sy_flags = SYCALL_ARG_PTR,
+ .sy_call = (sy_call_t *)linux_sys_open
+ }, /* 5 = open */
+ {
+ ns(struct sys_close_args),
+ .sy_call = (sy_call_t *)sys_close
+ }, /* 6 = close */
+ {
+ ns(struct linux_sys_waitpid_args),
+ .sy_flags = SYCALL_ARG_PTR,
+ .sy_call = (sy_call_t *)linux_sys_waitpid
+ }, /* 7 = waitpid */
+ {
+ ns(struct linux_sys_creat_args),
+ .sy_flags = SYCALL_ARG_PTR,
+ .sy_call = (sy_call_t *)linux_sys_creat
+ }, /* 8 = creat */
+ {
+ ns(struct sys_link_args),
+ .sy_flags = SYCALL_ARG_PTR,
+ .sy_call = (sy_call_t *)sys_link
+ }, /* 9 = link */
+ {
+ ns(struct linux_sys_unlink_args),
Home |
Main Index |
Thread Index |
Old Index