Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
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