[kernel] Add the handle_close syscallnnAdd a generic handle_close syscall and use it in j6::channel when failing to open

This commit is contained in:
2024-04-24 15:48:00 -07:00
parent ed38e989b1
commit 182d3b0a6a
3 changed files with 16 additions and 2 deletions

View File

@@ -44,6 +44,11 @@ interface syscalls [syscall] {
param mask uint32 # The capability bitmask
}
# Close the handle to an object
function handle_close {
param hnd ref object [handle] # The handle to close
}
# Block waiting on a futex
function futex_wait [static] {
param address uint32* # Address of the futex value