Shared memory cache management
[ipc/ipcdev.git] / packages / ti / sdo / ipc / notifyDrivers / NotifyDriverCirc.c
index 980ce50db33b725177a3a736394b5ae3e9a6a8fc..26d1c42c79752950e4fa96fb40bdb2e25ff677ac 100644 (file)
@@ -530,6 +530,11 @@ Void NotifyDriverCirc_isr(UArg arg)
                   obj->opCacheSize,
                   Cache_Type_ALL,
                   FALSE);
                   obj->opCacheSize,
                   Cache_Type_ALL,
                   FALSE);
+        /* Reading new data instead of pulling old data from cache */
+        Cache_inv(obj->getWriteIndex,
+                  sizeof(obj->getWriteIndex),
+                  Cache_Type_ALL,
+                  FALSE);
     }
 
     /* Clear the remote interrupt */
     }
 
     /* Clear the remote interrupt */