[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:
2020-10-05 21:51:42 -07:00
parent 1904e240cf
commit 97ea77bd27
18 changed files with 79 additions and 94 deletions

View File

@@ -7,16 +7,6 @@
namespace syscalls {
j6_status_t
thread_koid(j6_koid_t *koid)
{
if (koid == nullptr)
return j6_err_invalid_arg;
*koid = thread::current().koid();
return j6_status_ok;
}
j6_status_t
thread_create(void *rip, j6_handle_t *handle)
{