Merge pull request #2361 from lioncash/pagetable

core/memory: Minor simplifications to page table management
This commit is contained in:
bunnei 2019-04-07 17:50:31 -04:00 committed by GitHub
commit d0146b9856
8 changed files with 4 additions and 20 deletions

View file

@ -40,9 +40,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);