lib/sw_services/xilplmi/src/xplmi_generic.c
void XPlmi_GenericInit(void)
{
	/* Contains the array of PLM generic commands */
	static const XPlmi_ModuleCmd XPlmi_GenericCmds[] =
	{
		XPLMI_MODULE_COMMAND(XPlmi_Features),
		XPLMI_MODULE_COMMAND(XPlmi_MaskPoll),
		XPLMI_MODULE_COMMAND(XPlmi_MaskWrite),
		XPLMI_MODULE_COMMAND(XPlmi_Write),
		XPLMI_MODULE_COMMAND(XPlmi_Delay),
		XPLMI_MODULE_COMMAND(XPlmi_DmaWrite),
		XPLMI_MODULE_COMMAND(XPlmi_MaskPoll64),
		XPLMI_MODULE_COMMAND(XPlmi_MaskWrite64),
		XPLMI_MODULE_COMMAND(XPlmi_Write64),
		XPLMI_MODULE_COMMAND(XPlmi_DmaXfer),
		XPLMI_MODULE_COMMAND(XPlmi_InitSeq),
		XPLMI_MODULE_COMMAND(XPlmi_CfiRead),
		XPLMI_MODULE_COMMAND(XPlmi_Set),
		XPLMI_MODULE_COMMAND(XPlmi_DmaWriteKeyHole),
		XPLMI_MODULE_COMMAND(XPlmi_SsitSyncMaster),
		XPLMI_MODULE_COMMAND(XPlmi_SsitSyncSlaves),
		XPLMI_MODULE_COMMAND(XPlmi_SsitWaitSlaves),
		XPLMI_MODULE_COMMAND(XPlmi_Nop),
		XPLMI_MODULE_COMMAND(XPlmi_GetDeviceID),
		XPLMI_MODULE_COMMAND(XPlmi_EventLogging),
		XPLMI_MODULE_COMMAND(XPlmi_SetBoard),
		XPLMI_MODULE_COMMAND(XPlmi_GetBoard),
		XPLMI_MODULE_COMMAND(XPlmi_SetWdtParam),
		XPLMI_MODULE_COMMAND(XPlmi_LogString),
		XPLMI_MODULE_COMMAND(XPlmi_LogAddress),
		XPLMI_MODULE_COMMAND(XPlmi_Marker),
		XPLMI_MODULE_COMMAND(XPlmi_Proc),
	};

	XPlmi_Generic.Id = XPLMI_MODULE_GENERIC_ID;
	XPlmi_Generic.CmdAry = XPlmi_GenericCmds;
	XPlmi_Generic.CmdCnt = XPLMI_ARRAY_SIZE(XPlmi_GenericCmds);
	XPlmi_Generic.CheckIpiAccess = XPlmi_CheckIpiAccess;

	XPlmi_ModuleRegister(&XPlmi_Generic);
}
/*****************************************************************************/
/**
 * @brief	This function registers the PLM generic commands to the PLMI.
 *
 * @param	None
 *
 * @return	None
 *
 *****************************************************************************/
@brief       This function registers the PLM generic commands to the PLMI.
@param       None

@return      None
@brief This function registers the PLM generic commands to the PLMI . @param None @return None
void XPlmi_GenericInit(void)
{
	static const XPlmi_ModuleCmd XPlmi_GenericCmds[] =
	{
		XPLMI_MODULE_COMMAND(XPlmi_Features),
		XPLMI_MODULE_COMMAND(XPlmi_MaskPoll),
		XPLMI_MODULE_COMMAND(XPlmi_MaskWrite),
		XPLMI_MODULE_COMMAND(XPlmi_Write),
		XPLMI_MODULE_COMMAND(XPlmi_Delay),
		XPLMI_MODULE_COMMAND(XPlmi_DmaWrite),
		XPLMI_MODULE_COMMAND(XPlmi_MaskPoll64),
		XPLMI_MODULE_COMMAND(XPlmi_MaskWrite64),
		XPLMI_MODULE_COMMAND(XPlmi_Write64),
		XPLMI_MODULE_COMMAND(XPlmi_DmaXfer),
		XPLMI_MODULE_COMMAND(XPlmi_InitSeq),
		XPLMI_MODULE_COMMAND(XPlmi_CfiRead),
		XPLMI_MODULE_COMMAND(XPlmi_Set),
		XPLMI_MODULE_COMMAND(XPlmi_DmaWriteKeyHole),
		XPLMI_MODULE_COMMAND(XPlmi_SsitSyncMaster),
		XPLMI_MODULE_COMMAND(XPlmi_SsitSyncSlaves),
		XPLMI_MODULE_COMMAND(XPlmi_SsitWaitSlaves),
		XPLMI_MODULE_COMMAND(XPlmi_Nop),
		XPLMI_MODULE_COMMAND(XPlmi_GetDeviceID),
		XPLMI_MODULE_COMMAND(XPlmi_EventLogging),
		XPLMI_MODULE_COMMAND(XPlmi_SetBoard),
		XPLMI_MODULE_COMMAND(XPlmi_GetBoard),
		XPLMI_MODULE_COMMAND(XPlmi_SetWdtParam),
		XPLMI_MODULE_COMMAND(XPlmi_LogString),
		XPLMI_MODULE_COMMAND(XPlmi_LogAddress),
		XPLMI_MODULE_COMMAND(XPlmi_Marker),
		XPLMI_MODULE_COMMAND(XPlmi_Proc),
	};
	XPlmi_Generic.Id = XPLMI_MODULE_GENERIC_ID;
	XPlmi_Generic.CmdAry = XPlmi_GenericCmds;
	XPlmi_Generic.CmdCnt = XPLMI_ARRAY_SIZE(XPlmi_GenericCmds);
	XPlmi_Generic.CheckIpiAccess = XPlmi_CheckIpiAccess;
	XPlmi_ModuleRegister(&XPlmi_Generic);
}
void XPlmi_GenericInit ( void ) { static const XPlmi_ModuleCmd XPlmi_GenericCmds [ ] = { XPLMI_MODULE_COMMAND ( XPlmi_Features ) , XPLMI_MODULE_COMMAND ( XPlmi_MaskPoll ) , XPLMI_MODULE_COMMAND ( XPlmi_MaskWrite ) , XPLMI_MODULE_COMMAND ( XPlmi_Write ) , XPLMI_MODULE_COMMAND ( XPlmi_Delay ) , XPLMI_MODULE_COMMAND ( XPlmi_DmaWrite ) , XPLMI_MODULE_COMMAND ( XPlmi_MaskPoll64 ) , XPLMI_MODULE_COMMAND ( XPlmi_MaskWrite64 ) , XPLMI_MODULE_COMMAND ( XPlmi_Write64 ) , XPLMI_MODULE_COMMAND ( XPlmi_DmaXfer ) , XPLMI_MODULE_COMMAND ( XPlmi_InitSeq ) , XPLMI_MODULE_COMMAND ( XPlmi_CfiRead ) , XPLMI_MODULE_COMMAND ( XPlmi_Set ) , XPLMI_MODULE_COMMAND ( XPlmi_DmaWriteKeyHole ) , XPLMI_MODULE_COMMAND ( XPlmi_SsitSyncMaster ) , XPLMI_MODULE_COMMAND ( XPlmi_SsitSyncSlaves ) , XPLMI_MODULE_COMMAND ( XPlmi_SsitWaitSlaves ) , XPLMI_MODULE_COMMAND ( XPlmi_Nop ) , XPLMI_MODULE_COMMAND ( XPlmi_GetDeviceID ) , XPLMI_MODULE_COMMAND ( XPlmi_EventLogging ) , XPLMI_MODULE_COMMAND ( XPlmi_SetBoard ) , XPLMI_MODULE_COMMAND ( XPlmi_GetBoard ) , XPLMI_MODULE_COMMAND ( XPlmi_SetWdtParam ) , XPLMI_MODULE_COMMAND ( XPlmi_LogString ) , XPLMI_MODULE_COMMAND ( XPlmi_LogAddress ) , XPLMI_MODULE_COMMAND ( XPlmi_Marker ) , XPLMI_MODULE_COMMAND ( XPlmi_Proc ) , } ; XPlmi_Generic . Id = XPLMI_MODULE_GENERIC_ID ; XPlmi_Generic . CmdAry = XPlmi_GenericCmds ; XPlmi_Generic . CmdCnt = XPLMI_ARRAY_SIZE ( XPlmi_GenericCmds ) ; XPlmi_Generic . CheckIpiAccess = XPlmi_CheckIpiAccess ; XPlmi_ModuleRegister ( & XPlmi_Generic ) ; }
@brief       This function registers the PLM generic commands to the PLMI.
@brief This function registers the PLM generic commands to the PLMI .
/* Contains the array of PLM generic commands */