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
details: https://anonhg.NetBSD.org/src/rev/f879719c2950
branches: trunk
changeset: 817801:f879719c2950
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Sep 10 08:19:58 2016 +0000
description:
Regen
diffstat:
sys/compat/netbsd32/netbsd32_syscall.h | 7 +++++--
sys/compat/netbsd32/netbsd32_syscallargs.h | 11 +++++++++--
sys/compat/netbsd32/netbsd32_syscalls.c | 10 +++++-----
sys/compat/netbsd32/netbsd32_syscalls_autoload.c | 6 +++---
sys/compat/netbsd32/netbsd32_sysent.c | 11 ++++++-----
sys/compat/netbsd32/netbsd32_systrace_args.c | 24 +++++++++++++++++++++++-
6 files changed, 51 insertions(+), 18 deletions(-)
diffs (208 lines):
diff -r 3fec611ceadf -r f879719c2950 sys/compat/netbsd32/netbsd32_syscall.h
--- a/sys/compat/netbsd32/netbsd32_syscall.h Sat Sep 10 08:18:45 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscall.h Sat Sep 10 08:19:58 2016 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.122 2015/12/03 10:39:50 pgoyette Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.123 2016/09/10 08:19:58 skrll Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.112 2015/12/03 10:38:21 pgoyette Exp
+ * created from NetBSD: syscalls.master,v 1.113 2016/09/10 08:18:45 skrll Exp
*/
#ifndef _NETBSD32_SYS_SYSCALL_H_
@@ -913,6 +913,9 @@
/* syscall: "sched_yield" ret: "int" args: */
#define NETBSD32_SYS_sched_yield 350
+/* syscall: "netbsd32__sched_protect" ret: "int" args: "int" */
+#define NETBSD32_SYS_netbsd32__sched_protect 351
+
/* syscall: "netbsd32_fsync_range" ret: "int" args: "int" "int" "netbsd32_off_t" "netbsd32_off_t" */
#define NETBSD32_SYS_netbsd32_fsync_range 354
diff -r 3fec611ceadf -r f879719c2950 sys/compat/netbsd32/netbsd32_syscallargs.h
--- a/sys/compat/netbsd32/netbsd32_syscallargs.h Sat Sep 10 08:18:45 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscallargs.h Sat Sep 10 08:19:58 2016 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.122 2015/12/03 10:39:50 pgoyette Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.123 2016/09/10 08:19:58 skrll Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.112 2015/12/03 10:38:21 pgoyette Exp
+ * created from NetBSD: syscalls.master,v 1.113 2016/09/10 08:18:45 skrll Exp
*/
#ifndef _NETBSD32_SYS_SYSCALLARGS_H_
@@ -1758,6 +1758,11 @@
};
check_syscall_args(netbsd32__sched_getaffinity)
+struct netbsd32__sched_protect_args {
+ syscallarg(int) priority;
+};
+check_syscall_args(netbsd32__sched_protect)
+
struct netbsd32_fsync_range_args {
syscallarg(int) fd;
syscallarg(int) flags;
@@ -3169,6 +3174,8 @@
int sys_sched_yield(struct lwp *, const void *, register_t *);
+int netbsd32__sched_protect(struct lwp *, const struct netbsd32__sched_protect_args *, register_t *);
+
int netbsd32_fsync_range(struct lwp *, const struct netbsd32_fsync_range_args *, register_t *);
int netbsd32_uuidgen(struct lwp *, const struct netbsd32_uuidgen_args *, register_t *);
diff -r 3fec611ceadf -r f879719c2950 sys/compat/netbsd32/netbsd32_syscalls.c
--- a/sys/compat/netbsd32/netbsd32_syscalls.c Sat Sep 10 08:18:45 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscalls.c Sat Sep 10 08:19:58 2016 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls.c,v 1.121 2015/12/03 10:39:50 pgoyette Exp $ */
+/* $NetBSD: netbsd32_syscalls.c,v 1.122 2016/09/10 08:19:58 skrll Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.112 2015/12/03 10:38:21 pgoyette Exp
+ * created from NetBSD: syscalls.master,v 1.113 2016/09/10 08:18:45 skrll Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.121 2015/12/03 10:39:50 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.122 2016/09/10 08:19:58 skrll Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -384,7 +384,7 @@
/* 348 */ "netbsd32__sched_setaffinity",
/* 349 */ "netbsd32__sched_getaffinity",
/* 350 */ "sched_yield",
- /* 351 */ "#351 (unimplemented)",
+ /* 351 */ "netbsd32__sched_protect",
/* 352 */ "#352 (unimplemented)",
/* 353 */ "#353 (unimplemented)",
/* 354 */ "netbsd32_fsync_range",
@@ -914,7 +914,7 @@
/* 348 */ "_sched_setaffinity",
/* 349 */ "_sched_getaffinity",
/* 350 */ NULL, /* sched_yield */
- /* 351 */ NULL, /* unimplemented */
+ /* 351 */ "_sched_protect",
/* 352 */ NULL, /* unimplemented */
/* 353 */ NULL, /* unimplemented */
/* 354 */ "fsync_range",
diff -r 3fec611ceadf -r f879719c2950 sys/compat/netbsd32/netbsd32_syscalls_autoload.c
--- a/sys/compat/netbsd32/netbsd32_syscalls_autoload.c Sat Sep 10 08:18:45 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscalls_autoload.c Sat Sep 10 08:19:58 2016 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_syscalls_autoload.c,v 1.4 2015/12/03 10:39:50 pgoyette Exp $ */
+/* $NetBSD: netbsd32_syscalls_autoload.c,v 1.5 2016/09/10 08:19:58 skrll Exp $ */
/*
* System call autoload table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.112 2015/12/03 10:38:21 pgoyette Exp
+ * created from NetBSD: syscalls.master,v 1.113 2016/09/10 08:18:45 skrll Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls_autoload.c,v 1.4 2015/12/03 10:39:50 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls_autoload.c,v 1.5 2016/09/10 08:19:58 skrll Exp $");
#include <sys/proc.h>
static struct sc_autoload netbsd32_syscalls_autoload[] = {
diff -r 3fec611ceadf -r f879719c2950 sys/compat/netbsd32/netbsd32_sysent.c
--- a/sys/compat/netbsd32/netbsd32_sysent.c Sat Sep 10 08:18:45 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_sysent.c Sat Sep 10 08:19:58 2016 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: netbsd32_sysent.c,v 1.121 2015/12/03 10:39:50 pgoyette Exp $ */
+/* $NetBSD: netbsd32_sysent.c,v 1.122 2016/09/10 08:19:58 skrll Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.112 2015/12/03 10:38:21 pgoyette Exp
+ * created from NetBSD: syscalls.master,v 1.113 2016/09/10 08:18:45 skrll Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.121 2015/12/03 10:39:50 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysent.c,v 1.122 2016/09/10 08:19:58 skrll Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -1449,8 +1449,9 @@
.sy_call = (sy_call_t *)sys_sched_yield
}, /* 350 = sched_yield */
{
- .sy_call = sys_nosys,
- }, /* 351 = filler */
+ ns(struct netbsd32__sched_protect_args),
+ .sy_call = (sy_call_t *)netbsd32__sched_protect
+ }, /* 351 = netbsd32__sched_protect */
{
.sy_call = sys_nosys,
}, /* 352 = filler */
diff -r 3fec611ceadf -r f879719c2950 sys/compat/netbsd32/netbsd32_systrace_args.c
--- a/sys/compat/netbsd32/netbsd32_systrace_args.c Sat Sep 10 08:18:45 2016 +0000
+++ b/sys/compat/netbsd32/netbsd32_systrace_args.c Sat Sep 10 08:19:58 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_systrace_args.c,v 1.12 2015/12/03 10:39:50 pgoyette Exp $ */
+/* $NetBSD: netbsd32_systrace_args.c,v 1.13 2016/09/10 08:19:58 skrll Exp $ */
/*
* System call argument to DTrace register array converstion.
@@ -2403,6 +2403,13 @@
*n_args = 0;
break;
}
+ /* netbsd32__sched_protect */
+ case 351: {
+ struct netbsd32__sched_protect_args *p = params;
+ iarg[0] = SCARG(p, priority); /* int */
+ *n_args = 1;
+ break;
+ }
/* netbsd32_fsync_range */
case 354: {
struct netbsd32_fsync_range_args *p = params;
@@ -7382,6 +7389,16 @@
/* sys_sched_yield */
case 350:
break;
+ /* netbsd32__sched_protect */
+ case 351:
+ switch(ndx) {
+ case 0:
+ p = "int";
+ break;
+ default:
+ break;
+ };
+ break;
/* netbsd32_fsync_range */
case 354:
switch(ndx) {
@@ -10676,6 +10693,11 @@
break;
/* sys_sched_yield */
case 350:
+ /* netbsd32__sched_protect */
+ case 351:
+ if (ndx == 0 || ndx == 1)
+ p = "int";
+ break;
/* netbsd32_fsync_range */
case 354:
if (ndx == 0 || ndx == 1)
Home |
Main Index |
Thread Index |
Old Index