Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/compat/linux/arch/arm/linux_syscallargs.h,v rcsdiff: /ftp/cvs/cvsroot/src/sys/compat/linux/arch/arm/linux_syscallargs.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.46 retrieving revision 1.47 diff -u -p -r1.46 -r1.47 --- src/sys/compat/linux/arch/arm/linux_syscallargs.h 2009/12/14 00:58:36 1.46 +++ src/sys/compat/linux/arch/arm/linux_syscallargs.h 2010/07/07 01:31:52 1.47 @@ -1,10 +1,10 @@ -/* $NetBSD: linux_syscallargs.h,v 1.46 2009/12/14 00:58:36 matt Exp $ */ +/* $NetBSD: linux_syscallargs.h,v 1.47 2010/07/07 01:31:52 chs Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from NetBSD: syscalls.master,v 1.43 2009/11/24 10:42:43 njoly Exp + * created from NetBSD: syscalls.master,v 1.44 2010/07/07 01:30:33 chs Exp */ #ifndef _LINUX_SYS_SYSCALLARGS_H_ @@ -31,7 +31,10 @@ typedef char call##_check_args[sizeof (struct call##_args) \ <= LINUX_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1]; -struct sys_exit_args; +struct linux_sys_exit_args { + syscallarg(int) rval; +}; +check_syscall_args(linux_sys_exit) struct sys_read_args; @@ -419,6 +422,9 @@ check_syscall_args(linux_sys_sigreturn) struct linux_sys_clone_args { syscallarg(int) flags; syscallarg(void *) stack; + syscallarg(void *) parent_tidptr; + syscallarg(void *) tls; + syscallarg(void *) child_tidptr; }; check_syscall_args(linux_sys_clone) @@ -858,11 +864,46 @@ struct linux_sys_fremovexattr_args { }; check_syscall_args(linux_sys_fremovexattr) +struct linux_sys_tkill_args { + syscallarg(int) tid; + syscallarg(int) sig; +}; +check_syscall_args(linux_sys_tkill) + +struct linux_sys_futex_args { + syscallarg(int *) uaddr; + syscallarg(int) op; + syscallarg(int) val; + syscallarg(const struct linux_timespec *) timeout; + syscallarg(int *) uaddr2; + syscallarg(int) val3; +}; +check_syscall_args(linux_sys_futex) + +struct linux_sys_sched_setaffinity_args { + syscallarg(pid_t) pid; + syscallarg(unsigned int) len; + syscallarg(unsigned long *) mask; +}; +check_syscall_args(linux_sys_sched_setaffinity) + +struct linux_sys_sched_getaffinity_args { + syscallarg(pid_t) pid; + syscallarg(unsigned int) len; + syscallarg(unsigned long *) mask; +}; +check_syscall_args(linux_sys_sched_getaffinity) + struct linux_sys_exit_group_args { syscallarg(int) error_code; }; check_syscall_args(linux_sys_exit_group) +struct linux_sys_set_tid_address_args { + syscallarg(int *) tid; +}; +check_syscall_args(linux_sys_set_tid_address) + struct linux_sys_clock_settime_args { syscallarg(clockid_t) which; syscallarg(struct linux_timespec *) tp; @@ -903,19 +944,45 @@ struct linux_sys_fstatfs64_args { }; check_syscall_args(linux_sys_fstatfs64) +struct linux_sys_tgkill_args { + syscallarg(int) tgid; + syscallarg(int) tid; + syscallarg(int) sig; +}; +check_syscall_args(linux_sys_tgkill) + +struct linux_sys_set_robust_list_args { + syscallarg(struct linux_robust_list_head *) head; + syscallarg(size_t) len; +}; +check_syscall_args(linux_sys_set_robust_list) + +struct linux_sys_get_robust_list_args { + syscallarg(int) pid; + syscallarg(struct linux_robust_list_head **) head; + syscallarg(size_t *) len; +}; +check_syscall_args(linux_sys_get_robust_list) + struct linux_sys_cacheflush_args { syscallarg(uintptr_t) from; syscallarg(intptr_t) to; + syscallarg(int) flags; }; check_syscall_args(linux_sys_cacheflush) +struct linux_sys_set_tls_args { + syscallarg(void *) tls; +}; +check_syscall_args(linux_sys_set_tls) + /* * System call prototypes. */ int linux_sys_nosys(struct lwp *, const void *, register_t *); -int sys_exit(struct lwp *, const struct sys_exit_args *, register_t *); +int linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *); int sys_fork(struct lwp *, const void *, register_t *); @@ -1259,6 +1326,8 @@ int sys_madvise(struct lwp *, const stru int linux_sys_fcntl64(struct lwp *, const struct linux_sys_fcntl64_args *, register_t *); +int linux_sys_gettid(struct lwp *, const void *, register_t *); + int linux_sys_setxattr(struct lwp *, const struct linux_sys_setxattr_args *, register_t *); int linux_sys_lsetxattr(struct lwp *, const struct linux_sys_lsetxattr_args *, register_t *); @@ -1283,8 +1352,18 @@ int linux_sys_lremovexattr(struct lwp *, int linux_sys_fremovexattr(struct lwp *, const struct linux_sys_fremovexattr_args *, register_t *); +int linux_sys_tkill(struct lwp *, const struct linux_sys_tkill_args *, register_t *); + +int linux_sys_futex(struct lwp *, const struct linux_sys_futex_args *, register_t *); + +int linux_sys_sched_setaffinity(struct lwp *, const struct linux_sys_sched_setaffinity_args *, register_t *); + +int linux_sys_sched_getaffinity(struct lwp *, const struct linux_sys_sched_getaffinity_args *, register_t *); + int linux_sys_exit_group(struct lwp *, const struct linux_sys_exit_group_args *, register_t *); +int linux_sys_set_tid_address(struct lwp *, const struct linux_sys_set_tid_address_args *, register_t *); + int linux_sys_clock_settime(struct lwp *, const struct linux_sys_clock_settime_args *, register_t *); int linux_sys_clock_gettime(struct lwp *, const struct linux_sys_clock_gettime_args *, register_t *); @@ -1297,8 +1376,16 @@ int linux_sys_statfs64(struct lwp *, con int linux_sys_fstatfs64(struct lwp *, const struct linux_sys_fstatfs64_args *, register_t *); +int linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *); + +int linux_sys_set_robust_list(struct lwp *, const struct linux_sys_set_robust_list_args *, register_t *); + +int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *); + int linux_sys_breakpoint(struct lwp *, const void *, register_t *); int linux_sys_cacheflush(struct lwp *, const struct linux_sys_cacheflush_args *, register_t *); +int linux_sys_set_tls(struct lwp *, const struct linux_sys_set_tls_args *, register_t *); + #endif /* _LINUX_SYS_SYSCALLARGS_H_ */