core/memory: Remove GetCurrentPageTable()

Now that nothing actually touches the internal page table aside from the
memory subsystem itself, we can remove the accessor to it.
This commit is contained in:
Lioncash 2019-04-07 02:47:33 -04:00
parent c1a788780d
commit 08424ab57f
2 changed files with 1 additions and 6 deletions

View file

@ -50,9 +50,8 @@ enum : VAddr {
KERNEL_REGION_END = KERNEL_REGION_VADDR + KERNEL_REGION_SIZE,
};
/// Currently active page table
/// Changes the currently active page table.
void SetCurrentPageTable(Common::PageTable* page_table);
Common::PageTable* GetCurrentPageTable();
/// Determines if the given VAddr is valid for the specified process.
bool IsValidVirtualAddress(const Kernel::Process& process, VAddr vaddr);