Beispiel #1
0
/*
 *	Simple exit routine ...
 */
void _ewl_exit(int status)
{
	#pragma unused(status)

	__destroy_global_chain();
	_ExitProcess();
}
Beispiel #2
0
extern void exit(int status)
{
	#pragma unused(status)

#if (defined(__cplusplus) || defined(__VEC__)) && !defined(DO_NOT_LOAD_CTORS_DTORS)
	__fini_cpp();
#endif
	_ExitProcess();
}
Beispiel #3
0
/*FUNCTION*-------------------------------------------------------------------
*
* Function Name    : __exit
* Returned Value   : none
* Comments         :
*   Final exit function
*
*END*----------------------------------------------------------------------*/
int __exit(int status)
{ 
   // Semi-normal Codewarrior shutdown sequence
#if BSPCFG_ENABLE_CPP
   __destroy_global_chain();
   __fini_cpp();
#endif

   /*
   ** Change for whatever is appropriate for your board
   ** and application.  Perhaps a software reset or
   ** some kind of trap/call to the kernel soft re-boot.
   */
   _ExitProcess();

   return(0);
} 
Beispiel #4
0
extern void abort(void)
{
	_ExitProcess();
}
Beispiel #5
0
/*
 *	Simple abort routine ...
 */
void _ewl_abort(void)
{
	_ExitProcess();
}