[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:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user