summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ea8ed02)
raw | patch | inline | side by side (parent: ea8ed02)
author | Don Dominic <a0486429@ti.com> | |
Mon, 25 Oct 2021 08:39:47 +0000 (14:09 +0530) | ||
committer | Don Dominic <a0486429@ti.com> | |
Mon, 25 Oct 2021 08:39:47 +0000 (14:09 +0530) |
- reset global variables to allow IPC task to be restarted
- And IPC can be re-attached to remote cores.
- This is done during Ipc_initVirtIO
Signed-off-by: Don Dominic <a0486429@ti.com>
- And IPC can be re-attached to remote cores.
- This is done during Ipc_initVirtIO
Signed-off-by: Don Dominic <a0486429@ti.com>
packages/ti/drv/ipc/src/ipc_virtio.c | patch | blob | history |
index ee1d5bd1519d231d6e6a526af8b893911e41b8ea..da6ba374290601bf4881baf5487248657c8e73d5 100644 (file)
} Ipc_NotifyIdEntry;
int32_t virtio_cnt = 0;
+static uint32_t g_vqItemCnt = 0;
+extern uint32_t g_ipc_mBoxCnt;
/**
* \brief Used for defining the size of the virtqueue registry
/* Initialize the global queue registry */
memset(queueRegistry, 0, sizeof(queueRegistry));
+ virtio_cnt = 0;
+ g_vqItemCnt = 0;
+ g_ipc_mBoxCnt = 0;
+
vqBaseAddr = (void*)vqParam->vqObjBaseAddr;
vqSizeLeft = vqParam->vqBufSize;
uint32_t procId;
} g_vqTable[MAX_VQ_PAIRS];
-static uint32_t g_vqItemCnt = 0;
/**
* \brief VirtioIPC_getVirtQueues :