forked from Imagelibrary/rtems
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* shared/startup/pretaskinghook.c: Replaced inclusion of <bsp/consoleIo.h> by <rtems/bspIo.> (for printk) and made it conditional on #ifdef SHOW_MORE_INIT_SETTINGS.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
|
* shared/startup/pretaskinghook.c: Replaced inclusion of
|
||||||
|
<bsp/consoleIo.h> by <rtems/bspIo.> (for printk) and
|
||||||
|
made it conditional on #ifdef SHOW_MORE_INIT_SETTINGS.
|
||||||
|
|
||||||
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
|
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* shared/startup/bspstart.c: Removed excess /*, replaced
|
* shared/startup/bspstart.c: Removed excess /*, replaced
|
||||||
|
|||||||
@@ -18,11 +18,14 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
#include <bsp/consoleIo.h>
|
|
||||||
#ifndef BSP_HAS_NO_VME
|
#ifndef BSP_HAS_NO_VME
|
||||||
#include <bsp/VME.h>
|
#include <bsp/VME.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
||||||
|
#include <rtems/bspIo.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
void bsp_libc_init( void *, uint32_t, int );
|
void bsp_libc_init( void *, uint32_t, int );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -82,4 +85,7 @@ void bsp_pretasking_hook(void)
|
|||||||
#ifdef RTEMS_DEBUG
|
#ifdef RTEMS_DEBUG
|
||||||
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
|
rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
||||||
|
printk("Leaving bsp_pretasking_hook\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user