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.
| Type | Name | Description |
|---|---|---|
| XIpiPsu * | IpiInst | Pointer to IPI driver instance |
| u32 | CframeAddr | Frame Address
|
| XSemIpiResp | Resp | Structure Pointer of IPI response
|
| XSem_DescriptorData | DescData | Structure pointer to hold total descriptor count, golden SHA and information related to descriptors |
Returns
This API returns the success or failure.- XST_FAILURE: On NPI golden SHA retrieve failure
- XST_SUCCESS: On NPI golden SHA retrieve success