forked from Imagelibrary/rtems
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Move __fini call to inside executive for symmettry with __init call.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* bootcard.c: Move __fini call to inside executive for
|
||||||
|
symmettry with __init call.
|
||||||
|
|
||||||
2007-04-17 Joel Sherrill <joel@OARcorp.com>
|
2007-04-17 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
* bootcard.c: RTEMS Workspace now defaults to not being zeroed. This
|
* bootcard.c: RTEMS Workspace now defaults to not being zeroed. This
|
||||||
|
|||||||
@@ -33,10 +33,6 @@
|
|||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
|
|
||||||
#if defined(__USE_INIT_FINI__)
|
|
||||||
#include <stdlib.h> /* for atexit() */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern void bsp_start( void );
|
extern void bsp_start( void );
|
||||||
extern void bsp_cleanup( void );
|
extern void bsp_cleanup( void );
|
||||||
|
|
||||||
@@ -50,11 +46,6 @@ rtems_api_configuration_table BSP_RTEMS_Configuration;
|
|||||||
posix_api_configuration_table BSP_POSIX_Configuration;
|
posix_api_configuration_table BSP_POSIX_Configuration;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Initialize C++ global Ctor/Dtor and initializes exception handling. */
|
|
||||||
#if defined(__USE_INIT_FINI__)
|
|
||||||
extern void _fini( void );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
rtems_interrupt_level bsp_isr_level;
|
rtems_interrupt_level bsp_isr_level;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -126,15 +117,6 @@ int boot_card(int argc, char **argv, char **envp)
|
|||||||
bsp_isr_level =
|
bsp_isr_level =
|
||||||
rtems_initialize_executive_early( &BSP_Configuration, &Cpu_table );
|
rtems_initialize_executive_early( &BSP_Configuration, &Cpu_table );
|
||||||
|
|
||||||
/*
|
|
||||||
* The atexit hook will be before the static destructor list's entry
|
|
||||||
* point.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#if defined(__USE_INIT_FINI__)
|
|
||||||
atexit( _fini );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Call c_rtems_main() and eventually let the first task or the real
|
* Call c_rtems_main() and eventually let the first task or the real
|
||||||
* main() invoke the global constructors if there are any.
|
* main() invoke the global constructors if there are any.
|
||||||
|
|||||||
Reference in New Issue
Block a user