Regen for posix_fallocate and fdiscard
This commit is contained in:
parent
74085ed4a7
commit
681b650f7f
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: netbsd32_syscall.h,v 1.111 2015/03/07 16:41:53 christos Exp $ */
|
||||
/* $NetBSD: netbsd32_syscall.h,v 1.112 2015/06/16 10:42:13 martin Exp $ */
|
||||
|
||||
/*
|
||||
* System call numbers.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.102 2015/02/25 13:16:33 christos Exp
|
||||
* created from NetBSD: syscalls.master,v 1.103 2015/06/16 10:41:34 martin Exp
|
||||
*/
|
||||
|
||||
#ifndef _NETBSD32_SYS_SYSCALL_H_
|
||||
|
@ -1248,6 +1248,12 @@
|
|||
/* syscall: "netbsd32____lwp_park60" ret: "int" args: "netbsd32_clockid_t" "int" "const netbsd32_timespecp_t" "lwpid_t" "netbsd32_voidp" "netbsd32_voidp" */
|
||||
#define NETBSD32_SYS_netbsd32____lwp_park60 478
|
||||
|
||||
#define NETBSD32_SYS_MAXSYSCALL 479
|
||||
/* syscall: "netbsd32_posix_fallocate" ret: "int" args: "int" "int" "netbsd32_off_t" "netbsd32_off_t" */
|
||||
#define NETBSD32_SYS_netbsd32_posix_fallocate 479
|
||||
|
||||
/* syscall: "netbsd32_fdiscard" ret: "int" args: "int" "int" "netbsd32_off_t" "netbsd32_off_t" */
|
||||
#define NETBSD32_SYS_netbsd32_fdiscard 480
|
||||
|
||||
#define NETBSD32_SYS_MAXSYSCALL 481
|
||||
#define NETBSD32_SYS_NSYSENT 512
|
||||
#endif /* _NETBSD32_SYS_SYSCALL_H_ */
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/* $NetBSD: netbsd32_syscallargs.h,v 1.111 2015/03/07 16:41:53 christos Exp $ */
|
||||
/* $NetBSD: netbsd32_syscallargs.h,v 1.112 2015/06/16 10:42:13 martin Exp $ */
|
||||
|
||||
/*
|
||||
* System call argument lists.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.102 2015/02/25 13:16:33 christos Exp
|
||||
* created from NetBSD: syscalls.master,v 1.103 2015/06/16 10:41:34 martin Exp
|
||||
*/
|
||||
|
||||
#ifndef _NETBSD32_SYS_SYSCALLARGS_H_
|
||||
|
@ -2465,6 +2465,22 @@ struct netbsd32____lwp_park60_args {
|
|||
};
|
||||
check_syscall_args(netbsd32____lwp_park60)
|
||||
|
||||
struct netbsd32_posix_fallocate_args {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(int) PAD;
|
||||
syscallarg(netbsd32_off_t) pos;
|
||||
syscallarg(netbsd32_off_t) len;
|
||||
};
|
||||
check_syscall_args(netbsd32_posix_fallocate)
|
||||
|
||||
struct netbsd32_fdiscard_args {
|
||||
syscallarg(int) fd;
|
||||
syscallarg(int) PAD;
|
||||
syscallarg(netbsd32_off_t) pos;
|
||||
syscallarg(netbsd32_off_t) len;
|
||||
};
|
||||
check_syscall_args(netbsd32_fdiscard)
|
||||
|
||||
/*
|
||||
* System call prototypes.
|
||||
*/
|
||||
|
@ -3276,4 +3292,8 @@ int netbsd32_clock_nanosleep(struct lwp *, const struct netbsd32_clock_nanosleep
|
|||
|
||||
int netbsd32____lwp_park60(struct lwp *, const struct netbsd32____lwp_park60_args *, register_t *);
|
||||
|
||||
int netbsd32_posix_fallocate(struct lwp *, const struct netbsd32_posix_fallocate_args *, register_t *);
|
||||
|
||||
int netbsd32_fdiscard(struct lwp *, const struct netbsd32_fdiscard_args *, register_t *);
|
||||
|
||||
#endif /* _NETBSD32_SYS_SYSCALLARGS_H_ */
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/* $NetBSD: netbsd32_syscalls.c,v 1.110 2015/03/07 16:41:53 christos Exp $ */
|
||||
/* $NetBSD: netbsd32_syscalls.c,v 1.111 2015/06/16 10:42:13 martin Exp $ */
|
||||
|
||||
/*
|
||||
* System call names.
|
||||
*
|
||||
* DO NOT EDIT-- this file is automatically generated.
|
||||
* created from NetBSD: syscalls.master,v 1.102 2015/02/25 13:16:33 christos Exp
|
||||
* created from NetBSD: syscalls.master,v 1.103 2015/06/16 10:41:34 martin Exp
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.110 2015/03/07 16:41:53 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: netbsd32_syscalls.c,v 1.111 2015/06/16 10:42:13 martin Exp $");
|
||||
|
||||
#if defined(_KERNEL_OPT)
|
||||
#if defined(_KERNEL_OPT)
|
||||
|
@ -576,8 +576,8 @@ const char *const netbsd32_syscallnames[] = {
|
|||
/* 476 */ "#476 (unimplemented { int | netbsd32 | | sendmmsg ( int s , struct mmsghdr * mmsg , unsigned int vlen , unsigned int flags ) ; })",
|
||||
/* 477 */ "netbsd32_clock_nanosleep",
|
||||
/* 478 */ "netbsd32____lwp_park60",
|
||||
/* 479 */ "# filler",
|
||||
/* 480 */ "# filler",
|
||||
/* 479 */ "netbsd32_posix_fallocate",
|
||||
/* 480 */ "netbsd32_fdiscard",
|
||||
/* 481 */ "# filler",
|
||||
/* 482 */ "# filler",
|
||||
/* 483 */ "# filler",
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: netbsd32_systrace_args.c,v 1.1 2015/03/07 16:41:53 christos Exp $ */
|
||||
/* $NetBSD: netbsd32_systrace_args.c,v 1.2 2015/06/16 10:42:13 martin Exp $ */
|
||||
|
||||
/*
|
||||
* System call argument to DTrace register array converstion.
|
||||
|
@ -3288,6 +3288,26 @@ systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_
|
|||
*n_args = 6;
|
||||
break;
|
||||
}
|
||||
/* netbsd32_posix_fallocate */
|
||||
case 479: {
|
||||
struct netbsd32_posix_fallocate_args *p = params;
|
||||
iarg[0] = SCARG(p, fd); /* int */
|
||||
iarg[1] = SCARG(p, PAD); /* int */
|
||||
iarg[2] = SCARG(p, pos); /* netbsd32_off_t */
|
||||
iarg[3] = SCARG(p, len); /* netbsd32_off_t */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
/* netbsd32_fdiscard */
|
||||
case 480: {
|
||||
struct netbsd32_fdiscard_args *p = params;
|
||||
iarg[0] = SCARG(p, fd); /* int */
|
||||
iarg[1] = SCARG(p, PAD); /* int */
|
||||
iarg[2] = SCARG(p, pos); /* netbsd32_off_t */
|
||||
iarg[3] = SCARG(p, len); /* netbsd32_off_t */
|
||||
*n_args = 4;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
*n_args = 0;
|
||||
break;
|
||||
|
@ -8819,6 +8839,44 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
break;
|
||||
};
|
||||
break;
|
||||
/* netbsd32_posix_fallocate */
|
||||
case 479:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "int";
|
||||
break;
|
||||
case 2:
|
||||
p = "netbsd32_off_t";
|
||||
break;
|
||||
case 3:
|
||||
p = "netbsd32_off_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
/* netbsd32_fdiscard */
|
||||
case 480:
|
||||
switch(ndx) {
|
||||
case 0:
|
||||
p = "int";
|
||||
break;
|
||||
case 1:
|
||||
p = "int";
|
||||
break;
|
||||
case 2:
|
||||
p = "netbsd32_off_t";
|
||||
break;
|
||||
case 3:
|
||||
p = "netbsd32_off_t";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
|
@ -10702,6 +10760,16 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
|
|||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* netbsd32_posix_fallocate */
|
||||
case 479:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
/* netbsd32_fdiscard */
|
||||
case 480:
|
||||
if (ndx == 0 || ndx == 1)
|
||||
p = "int";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue