diff --git a/packages/ti/ipc/family/tci6638/VirtQueue.c b/packages/ti/ipc/family/tci6638/VirtQueue.c
index b3caa632d32e065b138a14f4781fc465dd1950cb..031b5326c5319c1fb668a0cb8c39c2704629a479 100644 (file)
const VirtQueue_Params *params, Error_Block *eb)
{
void *vringAddr = NULL;
+#if !defined(xdc_runtime_Assert_DISABLE_ALL) \
+ || !defined(xdc_runtime_Log_DISABLE_ALL)
UInt32 marValue;
+#endif
VirtQueue_module->traceBufPtr = Resource_getTraceBufPtr();
(DNUM * VirtQueue_VRING_OFFSET));
/* Also, assert that the vring address is non-cached: */
+#if !defined(xdc_runtime_Assert_DISABLE_ALL) \
+ || !defined(xdc_runtime_Log_DISABLE_ALL)
marValue = Cache_getMar((Ptr)vringAddr);
+#endif
Log_print1(Diags_USER1, "Vring cache is %s",
(IArg)(marValue & 0x1 ? "enabled" : "disabled"));
Assert_isTrue(!(marValue & 0x1), NULL);
* ======== VirtQueue_isr ========
* Note 'msg' is ignored: it is only used where there is a mailbox payload.
*/
-Void VirtQueue_isr(UArg msg)
+static Void VirtQueue_isr(UArg msg)
{
VirtQueue_Object *vq;