kernel/process: Move main thread stack allocation to its own function
Keeps this particular set of behavior isolated to its own function.
This commit is contained in:
parent
9e689a81f8
commit
eb6f55d880
2 changed files with 17 additions and 12 deletions
|
@ -280,6 +280,9 @@ private:
|
|||
/// a process signal.
|
||||
void ChangeStatus(ProcessStatus new_status);
|
||||
|
||||
/// Allocates the main thread stack for the process, given the stack size in bytes.
|
||||
void AllocateMainThreadStack(u64 stack_size);
|
||||
|
||||
/// Memory manager for this process.
|
||||
Kernel::VMManager vm_manager;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue