XilinxProcessorIPLib/drivers/prc/src/xprc.c
void XPrc_SendShutdownCommand(XPrc *InstancePtr, u16 VsmId)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Xil_AssertVoid(VsmId < XPRC_MAX_NUMBER_OF_VSMS);

	XPrc_SendCommand(InstancePtr, VsmId, XPRC_CR_SHUTDOWN_CMD,
			XPRC_CR_DEFAULT_BYTE, XPRC_CR_DEFAULT_HALFWORD);
}
/*****************************************************************************/
/**
*
* This function instructs the Virtual Socket Manager to enter the  shutdown
* state.
*
* @param	InstancePtr is a pointer to the PRC instance.
* @param	VsmId is the identifier of the VSM to access.
*
* @return	None.
*
* @note		None.
*
******************************************************************************/
This function instructs the Virtual Socket Manager to enter the  shutdown
state.
This function instructs the Virtual Socket Manager to enter the shutdown state .
void XPrc_SendShutdownCommand(XPrc *InstancePtr, u16 VsmId)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	Xil_AssertVoid(VsmId < XPRC_MAX_NUMBER_OF_VSMS);
	XPrc_SendCommand(InstancePtr, VsmId, XPRC_CR_SHUTDOWN_CMD,
			XPRC_CR_DEFAULT_BYTE, XPRC_CR_DEFAULT_HALFWORD);
}
void XPrc_SendShutdownCommand ( XPrc * InstancePtr , u16 VsmId ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; Xil_AssertVoid ( VsmId < XPRC_MAX_NUMBER_OF_VSMS ) ; XPrc_SendCommand ( InstancePtr , VsmId , XPRC_CR_SHUTDOWN_CMD , XPRC_CR_DEFAULT_BYTE , XPRC_CR_DEFAULT_HALFWORD ) ; }
This function instructs the Virtual Socket Manager to enter the  shutdown
state.
This function instructs the Virtual Socket Manager to enter the shutdown state .