mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
[kernel] Add event syscalls
The event object was missing any syscalls. Furthermore, kobject had an old object_signal implementation (the syscall itself no longer exists), which was removed. User code should only be able to set signals on events.
This commit is contained in:
@@ -1,4 +1,20 @@
|
||||
object event : object {
|
||||
uid f441e03da5516b1a
|
||||
|
||||
capabilities [
|
||||
signal
|
||||
]
|
||||
|
||||
method create [constructor]
|
||||
|
||||
# Assert signals on the event from the given bitset
|
||||
method signal [cap:signal] {
|
||||
param signals uint64
|
||||
}
|
||||
|
||||
# De-assert signals on the event from the given bitset
|
||||
method clear [cap:signal] {
|
||||
param mask uint64
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user