mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
- Include umtx.h in files generated by makesyscalls.sh
- Add system calls for umtx.
This commit is contained in:
parent
7f49f8e05b
commit
6eeb9653aa
2 changed files with 3 additions and 0 deletions
|
|
@ -118,6 +118,7 @@ s/\$//g
|
|||
printf "#include <sys/signal.h>\n" > sysarg
|
||||
printf "#include <sys/acl.h>\n" > sysarg
|
||||
printf "#include <sys/thr.h>\n" > sysarg
|
||||
printf "#include <sys/umtx.h>\n" > sysarg
|
||||
printf "#include <posix4/_semaphore.h>\n\n" > sysarg
|
||||
printf "#include <sys/ucontext.h>\n\n" > sysarg
|
||||
printf "struct proc;\n\n" > sysarg
|
||||
|
|
|
|||
|
|
@ -628,6 +628,8 @@
|
|||
431 STD BSD { void thr_exit(void); }
|
||||
432 STD BSD { int thr_self(thr_id_t *id); }
|
||||
433 STD BSD { int thr_kill(thr_id_t id, int sig); }
|
||||
434 MSTD BSD { int _umtx_lock(struct umtx *umtx); }
|
||||
435 MSTD BSD { int _umtx_unlock(struct umtx *umtx); }
|
||||
|
||||
; Please copy any additions and changes to the following compatability tables:
|
||||
; sys/ia64/ia32/syscalls.master (take a best guess)
|
||||
|
|
|
|||
Loading…
Reference in a new issue