Source-Changes-HG archive

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

[src/trunk]: src/sys/kern regen



details:   https://anonhg.NetBSD.org/src/rev/858dd468f221
branches:  trunk
changeset: 961641:858dd468f221
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Apr 14 02:45:58 2021 +0000

description:
regen

diffstat:

 sys/compat/netbsd32/netbsd32_systrace_args.c |  6 +++---
 sys/kern/systrace_args.c                     |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 70003682190f -r 858dd468f221 sys/compat/netbsd32/netbsd32_systrace_args.c
--- a/sys/compat/netbsd32/netbsd32_systrace_args.c      Wed Apr 14 02:45:40 2021 +0000
+++ b/sys/compat/netbsd32/netbsd32_systrace_args.c      Wed Apr 14 02:45:58 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_systrace_args.c,v 1.46 2021/04/13 23:57:23 christos Exp $ */
+/* $NetBSD: netbsd32_systrace_args.c,v 1.47 2021/04/14 02:48:00 christos Exp $ */
 
 /*
  * System call argument to DTrace register array conversion.
@@ -16,7 +16,7 @@
        case 0: {
                const struct netbsd32_syscall_args *p = params;
                iarg[0] = SCARG(p, code); /* int */
-               uarg[1] = (intptr_t) SCARG(p, args); /* register32_t */
+               iarg[1] = SCARG(p, args[0]); /* register32_t */
                *n_args = 2;
                break;
        }
@@ -1412,7 +1412,7 @@
        case 198: {
                const struct netbsd32____syscall_args *p = params;
                iarg[0] = SCARG(p, code); /* quad_t */
-               uarg[1] = (intptr_t) SCARG(p, args); /* register32_t */
+               iarg[1] = SCARG(p, args[0]); /* register32_t */
                *n_args = 2;
                break;
        }
diff -r 70003682190f -r 858dd468f221 sys/kern/systrace_args.c
--- a/sys/kern/systrace_args.c  Wed Apr 14 02:45:40 2021 +0000
+++ b/sys/kern/systrace_args.c  Wed Apr 14 02:45:58 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: systrace_args.c,v 1.46 2021/04/13 22:46:13 christos Exp $ */
+/* $NetBSD: systrace_args.c,v 1.47 2021/04/14 02:45:58 christos Exp $ */
 
 /*
  * System call argument to DTrace register array conversion.
@@ -16,7 +16,7 @@
        case 0: {
                const struct sys_syscall_args *p = params;
                iarg[0] = SCARG(p, code); /* int */
-               uarg[1] = (intptr_t) SCARG(p, args); /* register_t */
+               iarg[1] = SCARG(p, args[0]); /* register_t */
                *n_args = 2;
                break;
        }
@@ -1460,7 +1460,7 @@
        case 198: {
                const struct sys___syscall_args *p = params;
                iarg[0] = SCARG(p, code); /* quad_t */
-               uarg[1] = (intptr_t) SCARG(p, args); /* register_t */
+               iarg[1] = SCARG(p, args[0]); /* register_t */
                *n_args = 2;
                break;
        }



Home | Main Index | Thread Index | Old Index