diff options
| author | 2015-08-05 21:39:53 -0300 | |
|---|---|---|
| committer | 2015-08-16 01:03:48 -0300 | |
| commit | 14eca982f4da2bfd4d2c105bc33722e88e59da5f (patch) | |
| tree | d812de676c6e2d056ac43abec89251aa36162165 /src/core/hle/kernel/process.h | |
| parent | Kernel: Add more infrastructure to support different memory layouts (diff) | |
| download | yuzu-14eca982f4da2bfd4d2c105bc33722e88e59da5f.tar.gz yuzu-14eca982f4da2bfd4d2c105bc33722e88e59da5f.tar.xz yuzu-14eca982f4da2bfd4d2c105bc33722e88e59da5f.zip | |
Kernel: Implement svcGetProcessInfo in a basic way
This also adds some basic memory usage accounting. These two types are
used by Super Smash Bros. during startup.
Diffstat (limited to 'src/core/hle/kernel/process.h')
| -rw-r--r-- | src/core/hle/kernel/process.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h index 7c3a78b9e..60e17f251 100644 --- a/src/core/hle/kernel/process.h +++ b/src/core/hle/kernel/process.h | |||
| @@ -136,6 +136,8 @@ public: | |||
| 136 | // The left/right bounds of the address space covered by heap_memory. | 136 | // The left/right bounds of the address space covered by heap_memory. |
| 137 | VAddr heap_start = 0, heap_end = 0; | 137 | VAddr heap_start = 0, heap_end = 0; |
| 138 | 138 | ||
| 139 | u32 heap_used = 0, linear_heap_used = 0, misc_memory_used = 0; | ||
| 140 | |||
| 139 | MemoryRegionInfo* memory_region = nullptr; | 141 | MemoryRegionInfo* memory_region = nullptr; |
| 140 | 142 | ||
| 141 | /// Bitmask of the used TLS slots | 143 | /// Bitmask of the used TLS slots |