kernel/process: Store the total size of the code memory loaded

This will be necessary to properly report the used memory size in
svcGetInfo.
This commit is contained in:
Lioncash 2019-03-28 18:52:45 -04:00
parent 5d4ab5ec2f
commit 2289e895aa
2 changed files with 5 additions and 0 deletions

View file

@ -250,6 +250,9 @@ private:
/// Size of the main thread's stack in bytes.
u64 main_thread_stack_size = 0;
/// Size of the loaded code memory in bytes.
u64 code_memory_size = 0;
/// Current status of the process
ProcessStatus status;