diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-01 21:59:31 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-01 21:59:31 +0100 |
commit | e9710a2cf7ef7b9d98f9d8a7ed6f8ac5a04921ab (patch) | |
tree | a83a2f56531ee1f874daced8b526d1d1fa8e3a8e /src/core/hle/kernel/vm_manager.h | |
parent | svc: Fix string formatting for CreateThread. (diff) | |
download | yuzu-e9710a2cf7ef7b9d98f9d8a7ed6f8ac5a04921ab.tar yuzu-e9710a2cf7ef7b9d98f9d8a7ed6f8ac5a04921ab.tar.gz yuzu-e9710a2cf7ef7b9d98f9d8a7ed6f8ac5a04921ab.tar.bz2 yuzu-e9710a2cf7ef7b9d98f9d8a7ed6f8ac5a04921ab.tar.lz yuzu-e9710a2cf7ef7b9d98f9d8a7ed6f8ac5a04921ab.tar.xz yuzu-e9710a2cf7ef7b9d98f9d8a7ed6f8ac5a04921ab.tar.zst yuzu-e9710a2cf7ef7b9d98f9d8a7ed6f8ac5a04921ab.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/vm_manager.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core/hle/kernel/vm_manager.h b/src/core/hle/kernel/vm_manager.h index d3db1ca8d..1f2b129d1 100644 --- a/src/core/hle/kernel/vm_manager.h +++ b/src/core/hle/kernel/vm_manager.h @@ -181,6 +181,24 @@ public: /// Dumps the address space layout to the log, for debugging void LogLayout(Log::Level log_level) const; + /// Gets the total memory usage, used by svcGetInfo + u64 GetTotalMemoryUsage(); + + /// Gets the total heap usage, used by svcGetInfo + u64 GetTotalHeapUsage(); + + /// Gets the total address space base address, used by svcGetInfo + VAddr GetAddressSpaceBaseAddr(); + + /// Gets the total address space address size, used by svcGetInfo + u64 GetAddressSpaceSize(); + + /// Gets the base address for a new memory region, used by svcGetInfo + VAddr GetNewMapRegionBaseAddr(); + + /// Gets the size for a new memory region, used by svcGetInfo + u64 GetNewMapRegionSize(); + /// Each VMManager has its own page table, which is set as the main one when the owning process /// is scheduled. Memory::PageTable page_table; |