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/a96d388ea51a
branches: trunk
changeset: 336848:a96d388ea51a
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Mon Mar 23 07:54:44 2015 +0000
description:
Regen
diffstat:
sys/compat/linux/arch/arm/linux_syscall.h | 2 +-
sys/compat/linux/arch/arm/linux_syscallargs.h | 2 +-
sys/compat/linux/arch/arm/linux_syscalls.c | 4 +-
sys/compat/linux/arch/arm/linux_sysent.c | 4 +-
sys/compat/linux/arch/arm/linux_systrace_args.c | 5999 +++++++++++++++++++++++
5 files changed, 6005 insertions(+), 6 deletions(-)
diffs (truncated from 6057 to 300 lines):
diff -r 0dfb915a1936 -r a96d388ea51a sys/compat/linux/arch/arm/linux_syscall.h
--- a/sys/compat/linux/arch/arm/linux_syscall.h Mon Mar 23 07:52:36 2015 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscall.h Mon Mar 23 07:54:44 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscall.h,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $ */
/*
* System call numbers.
diff -r 0dfb915a1936 -r a96d388ea51a sys/compat/linux/arch/arm/linux_syscallargs.h
--- a/sys/compat/linux/arch/arm/linux_syscallargs.h Mon Mar 23 07:52:36 2015 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscallargs.h Mon Mar 23 07:54:44 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscallargs.h,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $ */
/*
* System call argument lists.
diff -r 0dfb915a1936 -r a96d388ea51a sys/compat/linux/arch/arm/linux_syscalls.c
--- a/sys/compat/linux/arch/arm/linux_syscalls.c Mon Mar 23 07:52:36 2015 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscalls.c Mon Mar 23 07:54:44 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_syscalls.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $ */
/*
* System call names.
@@ -8,7 +8,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
diff -r 0dfb915a1936 -r a96d388ea51a sys/compat/linux/arch/arm/linux_sysent.c
--- a/sys/compat/linux/arch/arm/linux_sysent.c Mon Mar 23 07:52:36 2015 +0000
+++ b/sys/compat/linux/arch/arm/linux_sysent.c Mon Mar 23 07:54:44 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_sysent.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $ */
/*
* System call switch table.
@@ -8,7 +8,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.67 2015/03/23 07:51:45 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.68 2015/03/23 07:54:44 ozaki-r Exp $");
#include <sys/param.h>
#include <sys/poll.h>
diff -r 0dfb915a1936 -r a96d388ea51a sys/compat/linux/arch/arm/linux_systrace_args.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/compat/linux/arch/arm/linux_systrace_args.c Mon Mar 23 07:54:44 2015 +0000
@@ -0,0 +1,5999 @@
+/* $NetBSD: linux_systrace_args.c,v 1.1 2015/03/23 07:54:44 ozaki-r Exp $ */
+
+/*
+ * System call argument to DTrace register array converstion.
+ *
+ * DO NOT EDIT-- this file is automatically generated.
+ * This file is part of the DTrace syscall provider.
+ */
+
+static void
+systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_args)
+{
+ intptr_t *iarg = (intptr_t *)uarg;
+ switch (sysnum) {
+ /* linux_sys_nosys */
+ case 0: {
+ *n_args = 0;
+ break;
+ }
+ /* linux_sys_exit */
+ case 1: {
+ struct linux_sys_exit_args *p = params;
+ iarg[0] = SCARG(p, rval); /* int */
+ *n_args = 1;
+ break;
+ }
+ /* sys_fork */
+ case 2: {
+ *n_args = 0;
+ break;
+ }
+ /* sys_read */
+ case 3: {
+ struct sys_read_args *p = params;
+ iarg[0] = SCARG(p, fd); /* int */
+ uarg[1] = (intptr_t) SCARG(p, buf); /* void * */
+ uarg[2] = SCARG(p, nbyte); /* size_t */
+ *n_args = 3;
+ break;
+ }
+ /* sys_write */
+ case 4: {
+ struct sys_write_args *p = params;
+ iarg[0] = SCARG(p, fd); /* int */
+ uarg[1] = (intptr_t) SCARG(p, buf); /* const void * */
+ uarg[2] = SCARG(p, nbyte); /* size_t */
+ *n_args = 3;
+ break;
+ }
+ /* linux_sys_open */
+ case 5: {
+ struct linux_sys_open_args *p = params;
+ uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
+ iarg[1] = SCARG(p, flags); /* int */
+ iarg[2] = SCARG(p, mode); /* linux_umode_t */
+ *n_args = 3;
+ break;
+ }
+ /* sys_close */
+ case 6: {
+ struct sys_close_args *p = params;
+ iarg[0] = SCARG(p, fd); /* int */
+ *n_args = 1;
+ break;
+ }
+ /* linux_sys_waitpid */
+ case 7: {
+ struct linux_sys_waitpid_args *p = params;
+ iarg[0] = SCARG(p, pid); /* int */
+ uarg[1] = (intptr_t) SCARG(p, status); /* int * */
+ iarg[2] = SCARG(p, options); /* int */
+ *n_args = 3;
+ break;
+ }
+ /* linux_sys_creat */
+ case 8: {
+ struct linux_sys_creat_args *p = params;
+ uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
+ iarg[1] = SCARG(p, mode); /* linux_umode_t */
+ *n_args = 2;
+ break;
+ }
+ /* sys_link */
+ case 9: {
+ struct sys_link_args *p = params;
+ uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
+ uarg[1] = (intptr_t) SCARG(p, link); /* const char * */
+ *n_args = 2;
+ break;
+ }
+ /* linux_sys_unlink */
+ case 10: {
+ struct linux_sys_unlink_args *p = params;
+ uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
+ *n_args = 1;
+ break;
+ }
+ /* sys_execve */
+ case 11: {
+ struct sys_execve_args *p = params;
+ uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
+ uarg[1] = (intptr_t) SCARG(p, argp); /* char ** */
+ uarg[2] = (intptr_t) SCARG(p, envp); /* char ** */
+ *n_args = 3;
+ break;
+ }
+ /* sys_chdir */
+ case 12: {
+ struct sys_chdir_args *p = params;
+ uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
+ *n_args = 1;
+ break;
+ }
+ /* linux_sys_time */
+ case 13: {
+ struct linux_sys_time_args *p = params;
+ uarg[0] = (intptr_t) SCARG(p, t); /* linux_time_t * */
+ *n_args = 1;
+ break;
+ }
+ /* linux_sys_mknod */
+ case 14: {
+ struct linux_sys_mknod_args *p = params;
+ uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
+ iarg[1] = SCARG(p, mode); /* linux_umode_t */
+ uarg[2] = SCARG(p, dev); /* unsigned */
+ *n_args = 3;
+ break;
+ }
+ /* sys_chmod */
+ case 15: {
+ struct sys_chmod_args *p = params;
+ uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
+ iarg[1] = SCARG(p, mode); /* int */
+ *n_args = 2;
+ break;
+ }
+ /* linux_sys_lchown16 */
+ case 16: {
+ struct linux_sys_lchown16_args *p = params;
+ uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
+ iarg[1] = SCARG(p, uid); /* linux_uid16_t */
+ iarg[2] = SCARG(p, gid); /* linux_gid16_t */
+ *n_args = 3;
+ break;
+ }
+ /* compat_43_sys_lseek */
+ case 19: {
+ struct compat_43_sys_lseek_args *p = params;
+ iarg[0] = SCARG(p, fd); /* int */
+ iarg[1] = SCARG(p, offset); /* long */
+ iarg[2] = SCARG(p, whence); /* int */
+ *n_args = 3;
+ break;
+ }
+ /* sys_getpid */
+ case 20: {
+ *n_args = 0;
+ break;
+ }
+ /* sys_setuid */
+ case 23: {
+ struct sys_setuid_args *p = params;
+ uarg[0] = SCARG(p, uid); /* uid_t */
+ *n_args = 1;
+ break;
+ }
+ /* sys_getuid */
+ case 24: {
+ *n_args = 0;
+ break;
+ }
+ /* linux_sys_stime */
+ case 25: {
+ struct linux_sys_stime_args *p = params;
+ uarg[0] = (intptr_t) SCARG(p, t); /* linux_time_t * */
+ *n_args = 1;
+ break;
+ }
+ /* linux_sys_ptrace */
+ case 26: {
+ struct linux_sys_ptrace_args *p = params;
+ iarg[0] = SCARG(p, request); /* int */
+ iarg[1] = SCARG(p, pid); /* int */
+ iarg[2] = SCARG(p, addr); /* int */
+ iarg[3] = SCARG(p, data); /* int */
+ *n_args = 4;
+ break;
+ }
+ /* linux_sys_alarm */
+ case 27: {
+ struct linux_sys_alarm_args *p = params;
+ uarg[0] = SCARG(p, secs); /* unsigned int */
+ *n_args = 1;
+ break;
+ }
+ /* linux_sys_pause */
+ case 29: {
+ *n_args = 0;
+ break;
+ }
+ /* linux_sys_utime */
+ case 30: {
+ struct linux_sys_utime_args *p = params;
+ uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
+ uarg[1] = (intptr_t) SCARG(p, times); /* struct linux_utimbuf * */
+ *n_args = 2;
+ break;
+ }
+ /* sys_access */
+ case 33: {
+ struct sys_access_args *p = params;
+ uarg[0] = (intptr_t) SCARG(p, path); /* const char * */
+ iarg[1] = SCARG(p, flags); /* int */
+ *n_args = 2;
+ break;
+ }
+ /* linux_sys_nice */
+ case 34: {
+ struct linux_sys_nice_args *p = params;
+ iarg[0] = SCARG(p, incr); /* int */
+ *n_args = 1;
+ break;
+ }
+ /* sys_sync */
+ case 36: {
+ *n_args = 0;
+ break;
+ }
+ /* linux_sys_kill */
+ case 37: {
+ struct linux_sys_kill_args *p = params;
+ iarg[0] = SCARG(p, pid); /* int */
+ iarg[1] = SCARG(p, signum); /* int */
+ *n_args = 2;
+ break;
+ }
+ /* sys___posix_rename */
+ case 38: {
+ struct sys___posix_rename_args *p = params;
+ uarg[0] = (intptr_t) SCARG(p, from); /* const char * */
+ uarg[1] = (intptr_t) SCARG(p, to); /* const char * */
Home |
Main Index |
Thread Index |
Old Index