prc: xprc.c File Reference

| prc Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Functions
xprc.c File Reference

## Functions
s32 | XPrc_CfgInitialize (XPrc *InstancePtr, XPrc_Config *ConfigPtr, u32 EffectiveAddr)
| This function initializes a PRC instance. More...
void | XPrc_SendShutdownCommand (XPrc *InstancePtr, u16 VsmId)
| This function instructs the Virtual Socket Manager to enter the shutdown state. More...
void | XPrc_SendRestartWithNoStatusCommand (XPrc *InstancePtr, u16 VsmId)
| This function is used to restart a Virtual Socket Manager in shutdown if the Virtual Socket has not been modified during shutdown. More...
void | XPrc_SendRestartWithStatusCommand (XPrc *InstancePtr, u16 VsmId, u8 Full, u16 RmId)
| This function is used to restart a Virtual Socket Manager in shutdown if the Virtual Socket has been modified during shutdown. More...
void | XPrc_SendProceedCommand (XPrc *InstancePtr, u16 VsmId)
| This function instructs the Virtual Socket Manager to proceed with processing the Reconfigurable Module. More...
void | XPrc_SendUserControlCommand (XPrc *InstancePtr, u16 VsmId, u8 Rm_Shutdown_Req, u8 Rm_Decouple, u8 Sw_Shutdown_Req, u8 Sw_Startup_Req, u8 Rm_Reset)
| This function is used to set the values of Rm_Shutdown_Req, Rm_Decouple, Sw_Shutdown_Req, Sw_Startup_Req, Rm_Reset signals. More...
void | XPrc_SetTriggerToRmMapping (XPrc *InstancePtr, u16 VsmId, u16 TriggerId, u16 RmId)
| This function is used to set a Trigger to Reconfigurable Module mapping in a Virtual Socket Manager. More...
u32 | XPrc_GetTriggerToRmMapping (XPrc *InstancePtr, u16 VsmId, u16 TriggerId)
| This function gets a Trigger to Reconfigurable Module mapping in a Virtual Socket Manager. More...
void | XPrc_SetRmBsIndex (XPrc *InstancePtr, u16 VsmId, u16 RmId, u16 BsIndex)
| This function sets the BS_INDEX field in the RM_BS_INDEX register to specify which row of the Bitstream Information tables holds the partial bitstream for the Reconfigurable Module in the Virtual Socket Manager. More...
void | XPrc_SetRmClearingBsIndex (XPrc *InstancePtr, u16 VsmId, u16 RmId, u16 ClearingBsIndex)
| This function set the CLEAR_BS_INDEX field in the RM_BS_INDEX register to specify which row of the BS Information tables holds the clearing bitstream for the Reconfigurable Module in the Virtual Socket Manager. More...
u32 | XPrc_GetRmBsIndex (XPrc *InstancePtr, u16 VsmId, u16 RmId)
| This function get the BS_INDEX field from the RM_BS_INDEX register for the Reconfigurable Module in the Virtual Socket Manager. More...
u16 | XPrc_GetRmClearingBsIndex (XPrc *InstancePtr, u16 VsmId, u16 RmId)
| This function get the CLEAR_BS_INDEX field from the RM_BS_INDEX register for the Reconfigurable Module in the Virtual Socket Manager. More...
void | XPrc_SetRmControl (XPrc *InstancePtr, u16 VsmId, u16 RmId, u8 ShutdownRequired, u8 StartupRequired, u8 ResetRequired, u8 ResetDuration)
| This function set the control information for Reconfigurable Module. More...
void | XPrc_GetRmControl (XPrc *InstancePtr, u16 VsmId, u16 RmId, u8 *ShutdownRequired, u8 *StartupRequired, u8 *ResetRequired, u8 *ResetDuration)
| This function get the control information for Reconfigurable Module. More...
void | XPrc_SetBsId (XPrc *InstancePtr, u16 VsmId, u16 BsIndex, u16 BsId)
| This function sets the Bitstream Identifier. More...
u32 | XPrc_GetBsId (XPrc *InstancePtr, u16 VsmId, u16 BsIndex)
| This function get the Bitstream Identifier. More...
void | XPrc_SetBsSize (XPrc *InstancePtr, u16 VsmId, u16 BsIndex, u32 BsSize)
| This function sets the Bitstream size in bytes. More...
u32 | XPrc_GetBsSize (XPrc *InstancePtr, u16 VsmId, u16 BsIndex)
| This function get the Bitstream size in bytes. More...
void | XPrc_SetBsAddress (XPrc *InstancePtr, u16 VsmId, u16 BsIndex, u32 BsAddress)
| This function sets the Address of the Bitstream. More...
u32 | XPrc_GetBsAddress (XPrc *InstancePtr, u16 VsmId, u16 BsIndex)
| This function get the Address of the Bitstream. More...
u32 | XPrc_ReadStatusReg (XPrc *InstancePtr, u16 VsmId)
| This function is used to read the VSM's Status Register. More...
u8 | XPrc_IsVsmInShutdown (XPrc *InstancePtr, u32 VsmIdOrStatus)
| This function is used to identify whether a VSM is in the Shutdown state or not. More...
u32 | XPrc_GetVsmState (XPrc *InstancePtr, u32 VsmIdOrStatus)
| This function is used to get a VSM's state. More...
u32 | XPrc_GetVsmErrorStatus (XPrc *InstancePtr, u32 VsmIdOrStatus)
| This function is used to get a VSM's Error Status. More...
u32 | XPrc_GetRmIdFromStatus (XPrc *InstancePtr, u32 VsmIdOrStatus)
| This function is used to extract the identifier of a Reconfigurable Module from a VSM's status register. More...
u32 | XPrc_GetBsIdFromStatus (XPrc *InstancePtr, u32 VsmIdOrStatus)
| This function is used to extract the identifier of a Bitstream from a VSM's status register. More...
void | XPrc_PrintVsmStatus (XPrc *InstancePtr, u32 VsmIdOrStatus, char *Prefix)
| This function is used to Print the VSM Status. More...
void | XPrc_SendSwTrigger (XPrc *InstancePtr, u16 VsmId, u16 TriggerId)
| This function sends a software trigger to a Virtual Socket Manager. More...
u8 | XPrc_IsSwTriggerPending (XPrc *InstancePtr, u16 VsmId, u16 *TriggerId)
| This function is used to find out if there is a Software Trigger pending in a VSM. More...
u32 | XPrc_GetRegisterAddress (XPrc *InstancePtr, u32 VsmId, u8 RegisterType, u16 TableRow)
| The register offsets for the PRC are dynamic. More...