Merge pull request #2361 from lioncash/pagetable
core/memory: Minor simplifications to page table management
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user