This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] PROCESSOR-SDK-AM64X:am64x Sciclient_init fake 成功。

Guru**** 2419530 points
Other Parts Discussed in Thread: TMDS64EVM

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1536469/processor-sdk-am64x-am64x-sciclient_init-fake-success

器件型号:PROCESSOR-SDK-AM64X
Thread 中讨论的其他器件:TMDS64EVM

工具/软件:

您好、  

我正在运行 tmds64evm。

我正在 使用 MCU_PLUS_SDK_am64x_11_00_15。 我正在恢复 ti SDK 代码。  

问题、 在 sciclient.c 中  


int32_t Sciclient_init (uint32_t CoreID)
  int32_t  状态= SystemP_Success

  /*将系统地址转换为 CPU 本地地址*/
  gSciclientSecProxyCfg.pSecProxyRegs
    =(CSL_sec_proxyRegs*) AddrTranslateP_getLocalAddr ((uint64_t) gSciclientSecProxyCfg.pSecProxyRegs);
  gSciclientSecProxyCfg.pSecProxyScfgRegs
    =(CSL_sec_proxy_scfgRegs*) AddrTranslateP_getLocalAddr ((uint64_t) gSciclientSecProxyCfg.pSecProxyScfgRegs);
  gSciclientSecProxyCfg.pSecProxyRtRegs
    =(CSL_sec_proxy_rtRegs*) AddrTranslateP_getLocalAddr (uint64_t) gSciclientSecProxyCfg.pSecProxyRtRegs);
  gSciclientSecProxyCfg.proxyTargetAddr
    =(uint64_t) AddrTranslateP_getLocalAddr ((uint64_t) gSciclientSecProxyCfg.proxyTargetAddr);

  gSciclientHandle.currSeqId = 0
  gSciclientHandle.CoreID = CoreID
  gSciclientHandle.devIdCore = Sciclient_getDevId (CoreID);
  gSciclientHandle.secureContextId = Sciclient_getContext (SCICLIENT_SECURE_CONSTANCE、CoreID);
  gSciclientHandle.nonSecureContextId = Sciclient_getContext (SCICLIENT_non_secure_contextCoreID);
  gSciclientHandle.maxMsgSizeBytes = CSL_secProxyGetMaxMsgSize (&gSciclientSecProxyCfg)-
                CSL_SEC_PROXY RSVD_MSG_Bytes

  返回状态
}




在   Sciclient_init 中、状态是假状态权限、因为它始终为真?   该函数应改为 void 吗?


谢谢。  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Jun、

    感谢您报告上述问题。

    请留出一些时间在内部检查并恢复。

    此致、

    Tushar