XilinxProcessorIPLib/drivers/aiengine/src/tile/xaietile_error.c
static void XAieTile_ErrorTrap(XAieGbl_ErrorHandler *Handler)
{
#ifdef __AIESIM__
	(void)Handler;
	exit(-1);
#elif defined __AIEBAREMTL__
	(void)Handler;
	exit(-1);
#else
	kill(Handler->Pid, SIGKILL);
#endif
}
/*****************************************************************************/
/**
 * This API traps application due to error
 *
 * @param	Handler - Error handler
 *
 * @return	None.
 *
 * @note	On Linux, by default, AIE driver will signal SIGKILL to the
 *		thread which has registered to capture the signal. By default,
 *		the thread is the one which initializes the AIE instance.
 *		On baremetal, by default, AIE driver will exit.
 *
 *		Used only within this file.
 *****************************************************************************/
This API traps application due to error
@param       Handler - Error handler

@return      None.

@note        On Linux, by default, AIE driver will signal SIGKILL to the
thread which has registered to capture the signal. By default,
the thread is the one which initializes the AIE instance.
On baremetal, by default, AIE driver will exit.

Used only within this file.
This API traps application due to error @param Handler - Error handler @return None . @note On Linux by default AIE driver will signal SIGKILL to the thread which has registered to capture the signal . By default the thread is the one which initializes the AIE instance . On baremetal by default AIE driver will exit . Used only within this file .
static void XAieTile_ErrorTrap(XAieGbl_ErrorHandler *Handler)
{
#ifdef __AIESIM__
	(void)Handler;
	exit(-1);
#elif defined __AIEBAREMTL__
	(void)Handler;
	exit(-1);
#else
	kill(Handler->Pid, SIGKILL);
#endif
}
static void XAieTile_ErrorTrap ( XAieGbl_ErrorHandler * Handler ) { #ifdef __AIESIM__ ( void ) Handler ; exit ( -1 ) ; #elif defined __AIEBAREMTL__ ( void ) Handler ; exit ( -1 ) ; #else kill ( Handler -> Pid , SIGKILL ) ; #endif }
This API traps application due to error
 @param       Handler - Error handler
This API traps application due to error @param Handler - Error handler