Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/netbsd32 Sync syscalls.master in compat_netbsd32(...



details:   https://anonhg.NetBSD.org/src/rev/177f531d87eb
branches:  trunk
changeset: 828554:177f531d87eb
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue Dec 19 07:58:50 2017 +0000

description:
Sync syscalls.master in compat_netbsd32(8) with kern/syscalls.master

___lwp_part60 removed 'const' from the ts argument.

'const struct timespec *ts' -> 'struct timespec *ts'

Sponsored by <The NetBSD Foundation>

diffstat:

 sys/compat/netbsd32/netbsd32_syscall.h       |  4 ++--
 sys/compat/netbsd32/netbsd32_syscallargs.h   |  4 ++--
 sys/compat/netbsd32/netbsd32_systrace_args.c |  6 +++---
 sys/compat/netbsd32/syscalls.master          |  5 ++---
 4 files changed, 9 insertions(+), 10 deletions(-)

diffs (86 lines):

diff -r 419e0a8aa485 -r 177f531d87eb sys/compat/netbsd32/netbsd32_syscall.h
--- a/sys/compat/netbsd32/netbsd32_syscall.h    Tue Dec 19 06:40:22 2017 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscall.h    Tue Dec 19 07:58:50 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_syscall.h,v 1.129 2017/05/10 06:19:49 riastradh Exp $ */
+/* $NetBSD: netbsd32_syscall.h,v 1.130 2017/12/19 07:58:50 kamil Exp $ */
 
 /*
  * System call numbers.
@@ -1248,7 +1248,7 @@
 /* syscall: "netbsd32_clock_nanosleep" ret: "int" args: "netbsd32_clockid_t" "int" "const netbsd32_timespecp_t" "netbsd32_timespecp_t" */
 #define        NETBSD32_SYS_netbsd32_clock_nanosleep   477
 
-/* syscall: "netbsd32____lwp_park60" ret: "int" args: "netbsd32_clockid_t" "int" "const netbsd32_timespecp_t" "lwpid_t" "netbsd32_voidp" "netbsd32_voidp" */
+/* syscall: "netbsd32____lwp_park60" ret: "int" args: "netbsd32_clockid_t" "int" "netbsd32_timespecp_t" "lwpid_t" "netbsd32_voidp" "netbsd32_voidp" */
 #define        NETBSD32_SYS_netbsd32____lwp_park60     478
 
 /* syscall: "netbsd32_posix_fallocate" ret: "int" args: "int" "int" "netbsd32_off_t" "netbsd32_off_t" */
diff -r 419e0a8aa485 -r 177f531d87eb sys/compat/netbsd32/netbsd32_syscallargs.h
--- a/sys/compat/netbsd32/netbsd32_syscallargs.h        Tue Dec 19 06:40:22 2017 +0000
+++ b/sys/compat/netbsd32/netbsd32_syscallargs.h        Tue Dec 19 07:58:50 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_syscallargs.h,v 1.129 2017/05/10 06:19:49 riastradh Exp $ */
+/* $NetBSD: netbsd32_syscallargs.h,v 1.130 2017/12/19 07:58:50 kamil Exp $ */
 
 /*
  * System call argument lists.
@@ -2563,7 +2563,7 @@
 struct netbsd32____lwp_park60_args {
        syscallarg(netbsd32_clockid_t) clock_id;
        syscallarg(int) flags;
-       syscallarg(const netbsd32_timespecp_t) ts;
+       syscallarg(netbsd32_timespecp_t) ts;
        syscallarg(lwpid_t) unpark;
        syscallarg(netbsd32_voidp) hint;
        syscallarg(netbsd32_voidp) unparkhint;
diff -r 419e0a8aa485 -r 177f531d87eb sys/compat/netbsd32/netbsd32_systrace_args.c
--- a/sys/compat/netbsd32/netbsd32_systrace_args.c      Tue Dec 19 06:40:22 2017 +0000
+++ b/sys/compat/netbsd32/netbsd32_systrace_args.c      Tue Dec 19 07:58:50 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_systrace_args.c,v 1.19 2017/05/10 06:19:49 riastradh Exp $ */
+/* $NetBSD: netbsd32_systrace_args.c,v 1.20 2017/12/19 07:58:50 kamil Exp $ */
 
 /*
  * System call argument to DTrace register array converstion.
@@ -3423,7 +3423,7 @@
                const struct netbsd32____lwp_park60_args *p = params;
                iarg[0] = SCARG(p, clock_id); /* netbsd32_clockid_t */
                iarg[1] = SCARG(p, flags); /* int */
-               uarg[2] = (intptr_t) SCARG(p, ts).i32; /* const netbsd32_timespecp_t */
+               uarg[2] = (intptr_t) SCARG(p, ts).i32; /* netbsd32_timespecp_t */
                iarg[3] = SCARG(p, unpark); /* lwpid_t */
                uarg[4] = (intptr_t) SCARG(p, hint).i32; /* netbsd32_voidp */
                uarg[5] = (intptr_t) SCARG(p, unparkhint).i32; /* netbsd32_voidp */
@@ -9265,7 +9265,7 @@
                        p = "int";
                        break;
                case 2:
-                       p = "const netbsd32_timespecp_t";
+                       p = "netbsd32_timespecp_t";
                        break;
                case 3:
                        p = "lwpid_t";
diff -r 419e0a8aa485 -r 177f531d87eb sys/compat/netbsd32/syscalls.master
--- a/sys/compat/netbsd32/syscalls.master       Tue Dec 19 06:40:22 2017 +0000
+++ b/sys/compat/netbsd32/syscalls.master       Tue Dec 19 07:58:50 2017 +0000
@@ -1,4 +1,4 @@
-       $NetBSD: syscalls.master,v 1.115 2016/10/19 09:44:01 skrll Exp $
+       $NetBSD: syscalls.master,v 1.116 2017/12/19 07:58:50 kamil Exp $
 
 ;      from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp
 ;      @(#)syscalls.master     8.2 (Berkeley) 1/13/94
@@ -1047,7 +1047,7 @@
                            netbsd32_timespecp_t rmtp); }
 478    STD             { int|netbsd32|60|_lwp_park(\
                            netbsd32_clockid_t clock_id, \
-                           int flags, const netbsd32_timespecp_t ts, \
+                           int flags, netbsd32_timespecp_t ts, \
                            lwpid_t unpark, netbsd32_voidp hint, \
                            netbsd32_voidp unparkhint); }
 479    NOERR           { int|netbsd32||posix_fallocate(int fd, int PAD, \
@@ -1059,4 +1059,3 @@
                            netbsd32_wrusagep_t wru, netbsd32_siginfop_t info); }
 482    STD             { int|netbsd32||clock_getcpuclockid2(idtype_t idtype, \
                            id_t id, netbsd32_clockidp_t clock_id); }
-



Home | Main Index | Thread Index | Old Index