fixup!
This commit is contained in:
parent
41f74a16fd
commit
25c010dc7d
3 changed files with 12 additions and 16 deletions
|
@ -137,8 +137,10 @@ void Init() {
|
|||
Kernel::ThreadingInit();
|
||||
Kernel::TimersInit();
|
||||
|
||||
Process::next_process_id = 0;
|
||||
Object::next_object_id = 0;
|
||||
// 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
|
||||
|
|
|
@ -57,12 +57,6 @@ public:
|
|||
|
||||
static u32 next_process_id;
|
||||
|
||||
/*
|
||||
* Gets the process' id
|
||||
* @returns The process' id
|
||||
*/
|
||||
u32 GetProcessId() const { return process_id; }
|
||||
|
||||
/// Name of the process
|
||||
std::string name;
|
||||
/// Title ID corresponding to the process
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue