[kernel] Consolodate koid and close syscalls
A number of object types had _close or _koid syscalls. Moved those to be generic for kobject.
This commit is contained in:
@@ -15,15 +15,6 @@ endpoint_create(j6_handle_t *handle)
|
||||
return j6_status_ok;
|
||||
}
|
||||
|
||||
j6_status_t
|
||||
endpoint_close(j6_handle_t handle)
|
||||
{
|
||||
endpoint *e = remove_handle<endpoint>(handle);
|
||||
if (!e) return j6_err_invalid_arg;
|
||||
e->close();
|
||||
return j6_status_ok;
|
||||
}
|
||||
|
||||
j6_status_t
|
||||
endpoint_send(j6_handle_t handle, j6_tag_t tag, size_t len, void *data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user