This is documentation for VirtIO configurations used by IPC
uint32_t Ipc_getVqObjMemoryRequired |
( |
void |
| ) |
|
Returns local memory for Virtio objects for all cores of SOC.
uint32_t Ipc_getVqObjMemoryRequiredPerCore |
( |
void |
| ) |
|
Returns local memory for Virtio objects for one core-pair.
int32_t Ipc_loadResourceTable |
( |
void * |
rsctable | ) |
|
Loads the resource table. If the remote core A72, and has valid radource table then, it will wait for Linux to be ready use address from resource table.
- Parameters
-
rsctable | [IN] Pointer of resource table |
- Returns
- IPC_SOK or IPC_EFAIL
void* Ipc_getResourceTraceBufPtr |
( |
void |
| ) |
|
Gets the address of the trace buffer.
- Returns
- Address of the trace buffer.
uint8_t Ipc_isRemoteReady |
( |
uint16_t |
procId | ) |
|
Checks if remote is ready.
- Parameters
-
procId | [IN] Id of remote core |
- Returns
- 1 if remote proc is is not A72 or resource table is null or linux vdev status is 0x7 0 if linux vdev status is not 0x7
int32_t Ipc_lateVirtioCreate |
( |
uint16_t |
procId | ) |
|
Creates Virtio late when Linux is ready.
- Parameters
-
procId | [IN] Id of remote processor |
- Returns
- IPC_SOK or IPC_EFAIL