Memory: register page tables into a list for rasterizer cache marking

This commit is contained in:
Weiyi Wang 2018-12-10 22:13:10 -05:00
parent 9d616e5951
commit 88161b8ac6
3 changed files with 23 additions and 2 deletions

View file

@ -281,6 +281,12 @@ public:
*/
void RasterizerMarkRegionCached(PAddr start, u32 size, bool cached);
/// Registers page table for rasterizer cache marking
void RegisterPageTable(PageTable* page_table);
/// Unregisters page table for rasterizer cache marking
void UnregisterPageTable(PageTable* page_table);
private:
template <typename T>
T Read(const VAddr vaddr);