vm_manager: Stub out a bunch of interfaces used by svcGetInfo.

This commit is contained in:
bunnei
2018-01-01 15:59:31 -05:00
parent dc4fe2fbd5
commit e9710a2cf7
2 changed files with 51 additions and 1 deletions

View File

@ -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;