feat(kernel): per-process budgets (pages, endpoints, notifs, regions) carved from creator, returned on death; init owns pool
This commit is contained in:
@@ -83,9 +83,11 @@ impl<P: Platform> Kernel<P> {
|
||||
Syscall::SpawnThread { entry, stack, arg } => {
|
||||
self.handle_spawn_thread(pid, entry, stack, arg)
|
||||
}
|
||||
Syscall::CreateProcess { create_cap, image } => {
|
||||
self.handle_create_process(pid, create_cap, image)
|
||||
}
|
||||
Syscall::CreateProcess {
|
||||
create_cap,
|
||||
image,
|
||||
limits,
|
||||
} => self.handle_create_process(pid, create_cap, image, limits),
|
||||
Syscall::Kill { process } => self.handle_kill(pid, process),
|
||||
Syscall::Revoke { slot } => self.handle_revoke(pid, slot),
|
||||
Syscall::DropCap { slot } => self.handle_drop_cap(pid, slot),
|
||||
|
||||
Reference in New Issue
Block a user