memory: Add RasterizerMarkRegionCached code and cleanup.

This commit is contained in:
bunnei 2018-03-24 22:21:14 -04:00
parent c2dbdefedf
commit d732142b66
2 changed files with 204 additions and 209 deletions

View file

@ -254,6 +254,11 @@ enum class FlushMode {
FlushAndInvalidate,
};
/**
* Mark each page touching the region as cached.
*/
void RasterizerMarkRegionCached(VAddr start, u64 size, bool cached);
/**
* Flushes and invalidates any externally cached rasterizer resources touching the given virtual
* address region.