117 #include "Std_Types.h" 139 #define CDD_IPC_SW_MAJOR_VERSION (1U) 141 #define CDD_IPC_SW_MINOR_VERSION (2U) 143 #define CDD_IPC_SW_PATCH_VERSION (1U) 153 #define CDD_IPC_AR_RELEASE_MAJOR_VERSION (4U) 155 #define CDD_IPC_AR_RELEASE_MINOR_VERSION (3U) 157 #define CDD_IPC_AR_RELEASE_REVISION_VERSION (1U) 174 #define CDD_IPC_MODULE_ID ((uint16) 255U) 176 #define CDD_IPC_VENDOR_ID ((uint16) 44U) 178 #define CDD_IPC_INSTANCE_ID ((uint8) 0U) 198 #define CDD_IPC_SID_GETVERSIONINFO (0x01U) 200 #define CDD_IPC_SID_INIT (0x02U) 202 #define CDD_IPC_SID_SEND (0x03U) 204 #define CDD_IPC_SID_RECEIVE (0x04U) 206 #define CDD_IPC_SID_ANNOUNCE (0x05U) 208 #define CDD_IPC_SID_INTERNAL_ISR_ID (0x06U) 210 #define CDD_IPC_SID_REG_READBACK (0x07U) 212 #define CDD_IPC_SID_DEINIT (0x08U) 214 #define CDD_IPC_SID_CTRL_RECEIVE (0x09U) 216 #define CDD_IPC_SID_IS_INIT_DONE (0x0AU) 218 #define CDD_IPC_SID_GET_MAX_MSG_SIZE (0x0BU) 234 #define CDD_IPC_E_OK (0x00U) 236 #define CDD_IPC_E_INIT_FAILED (0x01U) 238 #define CDD_IPC_E_UNINIT (0x02U) 240 #define CDD_IPC_E_PARAM_POINTER (0x03U) 242 #define CDD_IPC_E_ALREADY_INITIALIZED (0x04U) 244 #define CDD_IPC_E_INVALID_CONFIG (0x05U) 246 #define CDD_IPC_E_SEND (0x06U) 248 #define CDD_IPC_E_RECEIVE_RETRY (0x07U) 250 #define CDD_IPC_E_NOT_SUPPORTED (0x08U) 256 #define CDD_IPC_CORE_ID_MAX (11U) 260 #define CDD_IPC_MAX_MSG_LEN (512U) 264 #define CDD_IPC_MAX_CTRL_MSG_LEN (32U) 271 #define CDD_IPC_MAX_RETRY_NOTIFY (2U) 293 typedef struct Cdd_IpcMpType_s
319 typedef struct Cdd_IpcVertIoType_s
344 typedef struct Cdd_IpcChannelType_s
374 typedef struct Cdd_IpcConfigType_s
417 typedef struct Cdd_IpcChannelBufType_s
447 #if (STD_ON == CDD_IPC_VERSION_INFO_API) 449 P2VAR(Std_VersionInfoType, AUTOMATIC,
450 CDD_APP_DATA) VersionInfoPtr);
488 #if (STD_ON == CDD_IPC_DEINIT_API) 518 VAR(uint32, AUTOMATIC) chId,
519 P2CONST(
void, AUTOMATIC, CDD_APP_DATA) pBuf,
520 VAR(uint32, AUTOMATIC) bufLen);
550 VAR(uint32, AUTOMATIC) chId,
551 P2VAR(
void, AUTOMATIC, CDD_APP_DATA) pBuf,
552 P2VAR(uint32, AUTOMATIC, CDD_APP_DATA) bufLen);
577 #if (STD_ON == CDD_IPC_ANNOUNCE_API) 579 P2CONST(
char, AUTOMATIC, CDD_APP_DATA) pBuf,
580 VAR(uint32, AUTOMATIC) chId);
615 #if (STD_ON == CDD_IPC_ANNOUNCE_API) 617 P2VAR (uint32, AUTOMATIC, CDD_APP_DATA) pRemoteProcId,
618 P2VAR (uint32, AUTOMATIC, CDD_APP_DATA) pRemoteEndPt,
619 P2VAR (
void, AUTOMATIC, CDD_APP_DATA) pBuf,
620 P2VAR (uint32, AUTOMATIC, CDD_APP_DATA) bufLen);
642 #if (STD_ON == CDD_IPC_REGISTER_READBACK_API) 664 #if (STD_ON == CDD_IPC_IS_INIT_DONE_API) 685 #if (STD_ON == CDD_IPC_GET_MAX_MSG_SIZE_API) uint32 reserved
Definition: Cdd_Ipc.h:407
void Cdd_IpcGetVersionInfo(Std_VersionInfoType *VersionInfoPtr)
Service for getting CDD version.
void Cdd_IpcInit(void)
Service for CDD Initialization.
uint32 vertIoRingSize
Definition: Cdd_Ipc.h:323
Definition: Cdd_Ipc.h:401
void * vertIoRingAddr
Definition: Cdd_Ipc.h:321
Std_ReturnType Cdd_IpcReceiveCtrlMsg(uint32 *pRemoteProcId, uint32 *pRemoteEndPt, void *pBuf, uint32 *bufLen)
Service for reception of N bytes of control message from remote cores.
This file contains generated pre compile configurations for CDD IPC MCAL driver.
uint32 reserved
Definition: Cdd_Ipc.h:327
#define CDD_IPC_CORE_ID_MAX
IPC maximum possible core ID.
Definition: Cdd_Ipc.h:256
uint32 remoteEp
Definition: Cdd_Ipc.h:350
const Cdd_IpcChannelType * pChCfg
Definition: Cdd_Ipc.h:382
uint32 ownProcID
Definition: Cdd_Ipc.h:295
uint32 reserved
Definition: Cdd_Ipc.h:301
uint32 Cdd_IpcGetMaxMsgSize(VAR(uint32,) chId)
Service for checking if IPC module is initialized.
Defines logical communication channel between cores.
Definition: Cdd_Ipc.h:344
uint32 numRegisters
Definition: Cdd_Ipc.h:403
Cdd_IpcVertIoType vertIoCfg
Definition: Cdd_Ipc.h:378
Channel RP Msg buffer type Used to hold the received buffer, before apps can pick it up...
Definition: Cdd_Ipc.h:417
uint32 bufSize
Definition: Cdd_Ipc.h:421
boolean Cdd_IpcIsInitDone(void)
Service for checking if IPC module is initialized.
uint32 numMsgQueued
Definition: Cdd_Ipc.h:354
Std_ReturnType Cdd_IpcSendMsg(VAR(uint32,) chId, const void *pBuf, VAR(uint32,) bufLen)
Service for sending an message to remote cores.
Cdd_IpcMpType coreIds
Definition: Cdd_Ipc.h:376
uint32 channelCount
Definition: Cdd_Ipc.h:380
Defines Shared Memories for VRING and VRING OBJECT VRING is the shared memory between cores and VRING...
Definition: Cdd_Ipc.h:319
uint32 reserved
Definition: Cdd_Ipc.h:385
CDD IPC Configuration type.
Definition: Cdd_Ipc.h:374
Defines processor identifiers Core on which MCAL/AUTOSAR is hosted and other cores with which IPC is ...
Definition: Cdd_Ipc.h:293
uint32 remoteProcId
Definition: Cdd_Ipc.h:352
Std_ReturnType Cdd_IpcAnnounce(const char *pBuf, VAR(uint32,) chId)
Service for broadcasting capabilities of this core to all other cores.
uint32 maxMsgSize
Definition: Cdd_Ipc.h:356
Std_ReturnType Cdd_IpcReceiveMsg(VAR(uint32,) chId, void *pBuf, uint32 *bufLen)
Service for reception of N bytes of data from remote cores.
uint32 id
Definition: Cdd_Ipc.h:346
uint32 localEp
Definition: Cdd_Ipc.h:348
uint8 * pBuf
Definition: Cdd_Ipc.h:419
uint32 numProcs
Definition: Cdd_Ipc.h:297
Std_ReturnType Cdd_IpcDeinit(void)
Service for deinitializing CDD.
uint32 vertIoObjSize
Definition: Cdd_Ipc.h:325
uint32 reserved
Definition: Cdd_Ipc.h:358
Std_ReturnType Cdd_IpcRegisterReadBack(Cdd_IpcRegRbValues *pRegArgs)
Service for reading the configuration registers of the MCAL modules.