Merge pull request #2361 from lioncash/pagetable
core/memory: Minor simplifications to page table management
This commit is contained in:
commit
d0146b9856
8 changed files with 4 additions and 20 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue