XSem_CmdNpiGetGldnSha - 2023.2 English

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2023-12-13
Version
2023.2 English

This function is used to get golden SHA.

Prototype

XStatus XSem_CmdNpiGetGldnSha(XIpiPsu *IpiInst, XSemIpiResp *Resp, XSem_DescriptorData *DescData);

Parameters

The following table lists the XSem_CmdNpiGetGldnSha function arguments.

Table 1. XSem_CmdNpiGetGldnSha Arguments
Type Member Description
XIpiPsu * IpiInst Pointer to IPI driver instance
XSemIpiResp * Resp Structure Pointer of IPI response
  • Resp->RespMsg1: Acknowledgment ID of NPI get golden SHA(0x10310)
  • Resp->RespMsg2: Status of NPI get golden SHA
XSem_DescriptorData * DescData This buffer address should be non-cacheable and accessible to PLM.

Returns

This API returns the success or failure.
  • XST_FAILURE: On NPI golden SHA retrieve failure
  • XST_SUCCESS: On NPI golden SHA retrieve success