/* Purge the entire contents of the dcache. The most efficient way to achieve this is to use alloco instructions on a region of unused memory equal in size to the cache, thereby causing the current contents to be discarded by natural eviction. The alternative, namely reading every tag, setting up a mapping for the corresponding page and doing an OCBP for the line, would be much more expensive.  */
static void sh64_dcache_purge_all(void)
/* Purge the entire contents of the dcache. The most efficient way to achieve this is to use alloco instructions on a region of unused memory equal in size to the cache, thereby causing the current contents to be discarded by natural eviction. The alternative, namely reading every tag, setting up a mapping for the corresponding page and doing an OCBP for the line, would be much more expensive.  */
static void sh64_dcache_purge_all(void)
{
	sh64_dcache_purge_sets(0, cpu_data->dcache.sets);
}