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:
parent
427f1e3e3d
commit
5d4ab5ec2f
2 changed files with 7 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue