Modified to WBInv for Write back DEV.NETAPI.01.00.00.02
authorRaghu Nambiath <rnambiath@ti.com>
Wed, 27 Jun 2012 21:21:13 +0000 (17:21 -0400)
committerRaghu Nambiath <rnambiath@ti.com>
Wed, 27 Jun 2012 21:21:13 +0000 (17:21 -0400)
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;