PDK API Guide for J721E
Ipc_InitPrms Struct Reference

Detailed Description

IPC initialization parameters.

Data Fields

uint32_t instId
 
Ipc_PhyToVirtFxn phyToVirtFxn
 
Ipc_VirtToPhyFxn virtToPhyFxn
 
Ipc_OsalPrms osalPrms
 
Ipc_NewMsgReceivedFxn newMsgFxn
 
Ipc_PrintFxn printFxn
 

Field Documentation

◆ instId

uint32_t Ipc_InitPrms::instId

[IN] Ipc_InstanceId. Only 1 instance is supported in this implementation. The value shall be 0

◆ phyToVirtFxn

Ipc_PhyToVirtFxn Ipc_InitPrms::phyToVirtFxn

If not NULL, this function will be called to convert physical address to virtual address to access the pointer returned by the IPC. If NULL, the driver will assume a one-one mapping.

Note: The init fxn will initialize this to the default one-one map function Ipc_defaultPhyToVirtFxn

◆ virtToPhyFxn

Ipc_VirtToPhyFxn Ipc_InitPrms::virtToPhyFxn

If not NULL, this function will be called to convert virtual address to physical address to be provided to IPC. If NULL, the driver will assume a one-one mapping.

Note: The init fxn will initialize this to the default one-one map function Ipc_defaultVirtToPhyFxn

◆ osalPrms

Ipc_OsalPrms Ipc_InitPrms::osalPrms

OSAL callback parameters

◆ newMsgFxn

Ipc_NewMsgReceivedFxn Ipc_InitPrms::newMsgFxn

Optional callback function, that would be invoked when a new message is received

◆ printFxn

Ipc_PrintFxn Ipc_InitPrms::printFxn

If not NULL, this function will be called to print debug/info message with appropriate string.