Wrong declaration of variables between CDD_IPC_START_SEC_CONFIG_DATA and CDD_IPC_STOP_SEC_CONFIG_DATA

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium

      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

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-5409 - Wrong declaration of variables betw...
                SYNCHRONIZED
                • Last Sync Date: