Spawn Processes using memory primitives rather than and elf loader.
This allows us to remove the temporary syscall for that style of process spawn.
This commit is contained in:
parent
b06c76e477
commit
23895b5c6c
26 changed files with 403 additions and 94 deletions
|
|
@ -14,6 +14,8 @@ class Capability {
|
|||
UNDEFINED,
|
||||
PROCESS,
|
||||
THREAD,
|
||||
ADDRESS_SPACE,
|
||||
MEMORY_OBJECT,
|
||||
};
|
||||
Capability(const RefPtr<KernelObject>& obj, Type type, uint64_t id,
|
||||
uint64_t permissions)
|
||||
|
|
@ -25,7 +27,7 @@ class Capability {
|
|||
}
|
||||
|
||||
template <typename T>
|
||||
T& obj();
|
||||
RefPtr<T> obj();
|
||||
|
||||
uint64_t id() { return id_; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue