kernel/process: Store the main thread stack size to a data member

This will be necessary in order to properly report memory usage within
svcGetInfo.
This commit is contained in:
Lioncash 2019-03-28 18:30:58 -04:00
parent 427f1e3e3d
commit 5d4ab5ec2f
2 changed files with 7 additions and 4 deletions

View file

@ -247,6 +247,9 @@ private:
/// Memory manager for this process.
Kernel::VMManager vm_manager;
/// Size of the main thread's stack in bytes.
u64 main_thread_stack_size = 0;
/// Current status of the process
ProcessStatus status;