[kernel] Have process_start syscall take a list of handles

This also prompted a change of the process initialization protocol to
allow handles to get typed, and changing to marking them as just
self/other handls. This also means exposing the object type enum to
userspace.
This commit is contained in:
Justin C. Miller
2021-01-23 20:34:03 -08:00
parent c0f304559f
commit 16b9d4fd8b
10 changed files with 59 additions and 44 deletions

View File

@@ -16,17 +16,9 @@ public:
/// Types of kernel objects.
enum class type : uint16_t
{
none,
system,
event,
channel,
endpoint,
vma,
process,
thread,
#define OBJECT_TYPE( name, val ) name = val,
#include "j6/object_types.inc"
#undef OBJECT_TYPE
max
};