diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2007-11-30 22:36:07 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2007-11-30 22:36:07 +0000 |
commit | 956c9b58abee7d913ca9c3c4165a19a5329a5f84 (patch) | |
tree | 2165abf93d7fb7d6d1064aa6d9045ab883286ab6 /c | |
parent | 2007-11-30 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-956c9b58abee7d913ca9c3c4165a19a5329a5f84.tar.bz2 |
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.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/ChangeLog | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/startup/pretaskinghook.c | 8 |
2 files changed, 13 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/ChangeLog b/c/src/lib/libbsp/powerpc/ChangeLog index c00a8933cd..676dbce0d6 100644 --- a/c/src/lib/libbsp/powerpc/ChangeLog +++ b/c/src/lib/libbsp/powerpc/ChangeLog @@ -1,5 +1,11 @@ 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> + * shared/startup/bspstart.c: Removed excess /*, replaced #ifdef checks for mpc8240 by #ifdef mvme2100; eventually there should be run-time checks. diff --git a/c/src/lib/libbsp/powerpc/shared/startup/pretaskinghook.c b/c/src/lib/libbsp/powerpc/shared/startup/pretaskinghook.c index bb5178e8af..3bba799ff6 100644 --- a/c/src/lib/libbsp/powerpc/shared/startup/pretaskinghook.c +++ b/c/src/lib/libbsp/powerpc/shared/startup/pretaskinghook.c @@ -18,11 +18,14 @@ #include <string.h> #include <bsp.h> -#include <bsp/consoleIo.h> #ifndef BSP_HAS_NO_VME #include <bsp/VME.h> #endif +#ifdef SHOW_MORE_INIT_SETTINGS +#include <rtems/bspIo.h> +#endif + void bsp_libc_init( void *, uint32_t, int ); /* @@ -82,4 +85,7 @@ void bsp_pretasking_hook(void) #ifdef RTEMS_DEBUG rtems_debug_enable( RTEMS_DEBUG_ALL_MASK ); #endif +#ifdef SHOW_MORE_INIT_SETTINGS + printk("Leaving bsp_pretasking_hook\n"); +#endif } |