[kernel] Add object_signal system call

Add a system call to assert signals on a given object, only within the
range of user-settable signals. Also made object_wait return
immediately if any of the given signals are already set.
This commit is contained in:
2020-07-26 18:03:30 -07:00
parent d3e9d92466
commit 58bc5acb1e
6 changed files with 48 additions and 1 deletions

View File

@@ -35,3 +35,5 @@
#define j6_signal_user13 (1ull << 61)
#define j6_signal_user14 (1ull << 62)
#define j6_signal_user15 (1ull << 63)
#define j6_signal_user_mask (0xffffull << 48)