aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-07-27 22:00:18 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-07-28 10:21:22 +0000
commit273728b1257fa4f6c945bca592227e29763fc4a7 (patch)
tree968268eabaa9b7a184902973a8658ec236c2a569 /sys/sys
parent9b6b793bd79521edc082a89b264a30881cb65e22 (diff)
downloadsrc-273728b1257fa4f6c945bca592227e29763fc4a7.tar.gz
src-273728b1257fa4f6c945bca592227e29763fc4a7.zip
Regen
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/syscall.h2
-rw-r--r--sys/sys/syscall.mk2
-rw-r--r--sys/sys/sysproto.h10
3 files changed, 14 insertions, 0 deletions
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 3d2db9563e35..950055c9559e 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -376,6 +376,8 @@
#define SYS_thr_exit 431
#define SYS_thr_self 432
#define SYS_thr_kill 433
+#define SYS_freebsd10__umtx_lock 434
+#define SYS_freebsd10__umtx_unlock 435
#define SYS_jail_attach 436
#define SYS_extattr_list_fd 437
#define SYS_extattr_list_file 438
diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk
index 4c3e04ebd0f7..e007d2c81e61 100644
--- a/sys/sys/syscall.mk
+++ b/sys/sys/syscall.mk
@@ -286,6 +286,8 @@ MIASM = \
thr_exit.o \
thr_self.o \
thr_kill.o \
+ freebsd10__umtx_lock.o \
+ freebsd10__umtx_unlock.o \
jail_attach.o \
extattr_list_fd.o \
extattr_list_file.o \
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index 83b74f53df5e..f17b1951f559 100644
--- a/sys/sys/sysproto.h
+++ b/sys/sys/sysproto.h
@@ -2573,7 +2573,15 @@ int freebsd7_shmctl(struct thread *, struct freebsd7_shmctl_args *);
#ifdef COMPAT_FREEBSD10
+struct freebsd10__umtx_lock_args {
+ char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
+};
+struct freebsd10__umtx_unlock_args {
+ char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)];
+};
int freebsd10_pipe(struct thread *, struct freebsd10_pipe_args *);
+int freebsd10__umtx_lock(struct thread *, struct freebsd10__umtx_lock_args *);
+int freebsd10__umtx_unlock(struct thread *, struct freebsd10__umtx_unlock_args *);
#endif /* COMPAT_FREEBSD10 */
@@ -3040,6 +3048,8 @@ int freebsd12_closefrom(struct thread *, struct freebsd12_closefrom_args *);
#define SYS_AUE_thr_exit AUE_THR_EXIT
#define SYS_AUE_thr_self AUE_NULL
#define SYS_AUE_thr_kill AUE_THR_KILL
+#define SYS_AUE_freebsd10__umtx_lock AUE_NULL
+#define SYS_AUE_freebsd10__umtx_unlock AUE_NULL
#define SYS_AUE_jail_attach AUE_JAIL_ATTACH
#define SYS_AUE_extattr_list_fd AUE_EXTATTR_LIST_FD
#define SYS_AUE_extattr_list_file AUE_EXTATTR_LIST_FILE