Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Bios Cache and CSL Cache

$
0
0

Hello,

I don't feel like an expert on caching so this may be some simple questions.

1.  I was wondering, when and why I should use BIOS cache and if there is an example? 

2.  I am using CSL caching.  When I ask it to invalid just the size of the variable, I get undefined behavoir.  Sometimes it works but if I readjust the memory map, then it might not.

CACHE_invL1d((void *)&glAssocationStartFlag, sizeof(unsigned int),CACHE_WAIT);

All the examples use 128, so I thought that value must just have been chosen as the default.  But I am thinking now, maybe not.  Why do they use 128?

 

CACHE_invL1d((void *)&glAssocationStartFlag, 128, CACHE_WAIT);

3.  What if I want to invalidate a variable (such as a struct) that is larger than 128, what should i do?

 

Thanks,

brandy

 


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>