Forum Topic - Is physical address required in x86 version of CACHE_FLUSH?: (1 Item)
   
Is physical address required in x86 version of CACHE_FLUSH?  
Hello,

In the x86 implementation of the CACHE_FLUSH and CACHE_INVAL macros (which are really pointers to the cache_ctrl.cf->
flush() and cache_ctrl.cf->invalidate() functions, is the real physical address of the memory you are trying to work on 
required?  

I ask because our existing architecture, PPC, doesn't use the function pointers above but use PPC specific functions, 
which do not appear to use the physical address.  As such, my code has the physical address set to NULL to avoid the 
unnecessary call to mem_offset().

Thanks
Chip Bagwell