]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/netapi.git/blobdiff - ti/runtime/netapi/src/osal.c
Modified to WBInv for Write back
[keystone-rtos/netapi.git] / ti / runtime / netapi / src / osal.c
index ddf22d0c5cf65661369b185f44c0d9523b5a8c37..f6091bf470f99b3c00ac231f36d4c3d3787b3a42 100755 (executable)
@@ -265,7 +265,7 @@ static inline void Osal_writeBackCache (void *blockPtr, uint32_t size)
      
     v1= netapi_timing_stop();
     if (((uint8_t*)blockPtr <netapi_VM_mem_start)||( (uint8_t*)blockPtr>netapi_VM_mem_end)) return;
-    _netapi_utilCacheWb(blockPtr, size);
+    _netapi_utilCacheWbInv(blockPtr, size);
     v2= netapi_timing_stop();
     cache_op_cycles += (v2-v1); 
     n_cache_op_cycles+=1;