kernel/process: move next_process_id to kernel instance
This commit is contained in:
parent
129ca865b3
commit
4238754d8c
4 changed files with 6 additions and 8 deletions
|
@ -23,9 +23,6 @@ KernelSystem::KernelSystem(u32 system_mode) {
|
|||
resource_limits = std::make_unique<ResourceLimitList>(*this);
|
||||
Kernel::ThreadingInit();
|
||||
Kernel::TimersInit();
|
||||
// TODO(Subv): Start the process ids from 10 for now, as lower PIDs are
|
||||
// reserved for low-level services
|
||||
Process::next_process_id = 10;
|
||||
}
|
||||
|
||||
/// Shutdown the kernel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue