OEMCacheRangeFlush Function Implementation (Windows CE 5.0)
The Windows CE kernel has replaced calls to FlushDCache, FlushICache and ClearTLB with calls to the OEMCacheRangeFlush function.
You must implement the OEMCacheRangeFlush function. For sample implementations, see the %_WINCEROOT%\Platform directory.
Some routines reference global variables containing cache and TLB size information. Your hardware platform must resolve these variables. You can further optimize such implementations by hard-coding variables in a private implementation of OEMCacheRangeFlush in your hardware platform.
Send Feedback on this topic to the authors