This is documentation for VirtIO configurations used by IPC
◆ Ipc_getVqObjMemoryRequired()
uint32_t Ipc_getVqObjMemoryRequired |
( |
void |
| ) |
|
Returns local memory for Virtio objects for all cores of SOC.
◆ Ipc_getVqObjMemoryRequiredPerCore()
uint32_t Ipc_getVqObjMemoryRequiredPerCore |
( |
void |
| ) |
|
Returns local memory for Virtio objects for one core-pair.
◆ Ipc_initVirtIO()
Initailize the Virtio module.
- Returns
- #IPC_SOK or #IPC_EFAIL
◆ Ipc_isRemoteVirtioCreated()
Bool Ipc_isRemoteVirtioCreated |
( |
uint32_t |
remoteId | ) |
|
Check if a remote Virtio has been created.
- Parameters
-
remoteId | [IN] Id of remote processor |
- Returns
- 1 if virtio exists for the given remote proc 0 if virtio does not exist for the given remote proc
◆ vqObjBaseAddr
void* Ipc_VirtIoParams::vqObjBaseAddr |
Base address for storing VQ Object
◆ vqBufSize
uint32_t Ipc_VirtIoParams::vqBufSize |
Size of the Buffer for storing VQ objects
◆ vringBaseAddr
void* Ipc_VirtIoParams::vringBaseAddr |
Base address for Shared VRing for all cores
◆ vringBufSize
uint32_t Ipc_VirtIoParams::vringBufSize |
Buffer Size. Recommemded Size is 0x40000 * NumOfCores
◆ timeoutCnt
uint32_t Ipc_VirtIoParams::timeoutCnt |
timeoutCnt. Set 0xFFFFFFFF for wait forever