mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 22:38:39 -05:00
memory: Add GetCurrentPageTable/SetCurrentPageTable
Don't expose Memory::current_page_table as a global.
This commit is contained in:
@ -182,7 +182,8 @@ enum : VAddr {
|
||||
};
|
||||
|
||||
/// Currently active page table
|
||||
extern PageTable* current_page_table;
|
||||
void SetCurrentPageTable(PageTable* page_table);
|
||||
PageTable* GetCurrentPageTable();
|
||||
|
||||
bool IsValidVirtualAddress(const VAddr addr);
|
||||
bool IsValidPhysicalAddress(const PAddr addr);
|
||||
|
Reference in New Issue
Block a user