-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
MCAL
-
MCAL-29563
-
-
-
MCUSW_J7_11.00.00
-
Description:
Cdd_IpcCommChanBufferPtr, CddIpcCommChs, CddIpcConfiguraions_PC are constants and initialized so these are part of CONFIG_DATA section but along with above variables we have Cdd_IpcDrvVertIoObj ,g_Ipc_mp_procInfo and g_IPC_MailboxInfo placed in CONFIG_DATA section.
These variables should be moved out of CDD_IPC_START_SEC_CONFIG_DATA and CDD_IPC_STOP_SEC_CONFIG_DATA.
Only variables which are constant and initialized need to be part of CONFIG_DATA as per AUTOSAR specification.
Also AUTOSAR global variable naming convention should be followed for these.
Resolution:
Move Cdd_IpcDrvVertIoObj to SEC_VAR_INIT_32 sectionmove IPC_Mailbox_BasePhyAddr to SEC_VAR_INIT_32 section
fix ipc config data misplacement
move Cdd_IpcDrvVertIoObj ,g_Ipc_mp_procInfo to var initÂ
Root Cause:
Wrong declaration of variables between CDD_IPC_START_SEC_CONFIG_DATA and CDD_IPC_STOP_SEC_CONFIG_DATA