diff options
Diffstat (limited to 'src/core/hle/kernel/process.h')
| -rw-r--r-- | src/core/hle/kernel/process.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index a0217d3d8..732d12170 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h | |||
| @@ -186,6 +186,9 @@ public: | |||
| 186 | return random_entropy.at(index); | 186 | return random_entropy.at(index); |
| 187 | } | 187 | } |
| 188 | 188 | ||
| 189 | /// Retrieves the total physical memory used by this process in bytes. | ||
| 190 | u64 GetTotalPhysicalMemoryUsed() const; | ||
| 191 | |||
| 189 | /// Clears the signaled state of the process if and only if it's signaled. | 192 | /// Clears the signaled state of the process if and only if it's signaled. |
| 190 | /// | 193 | /// |
| 191 | /// @pre The process must not be already terminated. If this is called on a | 194 | /// @pre The process must not be already terminated. If this is called on a |
| @@ -210,7 +213,7 @@ public: | |||
| 210 | /** | 213 | /** |
| 211 | * Applies address space changes and launches the process main thread. | 214 | * Applies address space changes and launches the process main thread. |
| 212 | */ | 215 | */ |
| 213 | void Run(VAddr entry_point, s32 main_thread_priority, u32 stack_size); | 216 | void Run(VAddr entry_point, s32 main_thread_priority, u64 stack_size); |
| 214 | 217 | ||
| 215 | /** | 218 | /** |
| 216 | * Prepares a process for termination by stopping all of its threads | 219 | * Prepares a process for termination by stopping all of its threads |
| @@ -247,6 +250,12 @@ private: | |||
| 247 | /// Memory manager for this process. | 250 | /// Memory manager for this process. |
| 248 | Kernel::VMManager vm_manager; | 251 | Kernel::VMManager vm_manager; |
| 249 | 252 | ||
| 253 | /// Size of the main thread's stack in bytes. | ||
| 254 | u64 main_thread_stack_size = 0; | ||
| 255 | |||
| 256 | /// Size of the loaded code memory in bytes. | ||
| 257 | u64 code_memory_size = 0; | ||
| 258 | |||
| 250 | /// Current status of the process | 259 | /// Current status of the process |
| 251 | ProcessStatus status; | 260 | ProcessStatus status; |
| 252 | 261 | ||