summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/score603e
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-03 22:26:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-03 22:26:33 +0000
commit558bc253bc228fc71b9bf304a111a941862f431d (patch)
tree54e012dbb641683c39b7877c223e0a15a1323571 /c/src/lib/libbsp/powerpc/score603e
parent2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-558bc253bc228fc71b9bf304a111a941862f431d.tar.bz2
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, startup/bspstart.c: Moved most of the remaining CPU Table fields to the Configuration Table. This included pretasking_hook, predriver_hook, postdriver_hook, idle_task, do_zero_of_workspace, extra_mpci_receive_server_stack, stack_allocate_hook, and stack_free_hook. As a side-effect of this effort some multiprocessing code was made conditional and some style clean up occurred.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/ChangeLog10
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/Makefile.am2
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c11
3 files changed, 15 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/powerpc/score603e/ChangeLog b/c/src/lib/libbsp/powerpc/score603e/ChangeLog
index 128a43bc7c..9b79d7cdc1 100644
--- a/c/src/lib/libbsp/powerpc/score603e/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/score603e/ChangeLog
@@ -1,3 +1,13 @@
+2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * Makefile.am, startup/bspstart.c: Moved most of the remaining CPU
+ Table fields to the Configuration Table. This included
+ pretasking_hook, predriver_hook, postdriver_hook, idle_task,
+ do_zero_of_workspace, extra_mpci_receive_server_stack,
+ stack_allocate_hook, and stack_free_hook. As a side-effect of this
+ effort some multiprocessing code was made conditional and some style
+ clean up occurred.
+
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
diff --git a/c/src/lib/libbsp/powerpc/score603e/Makefile.am b/c/src/lib/libbsp/powerpc/score603e/Makefile.am
index 73062360dd..1b882e801a 100644
--- a/c/src/lib/libbsp/powerpc/score603e/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/score603e/Makefile.am
@@ -27,7 +27,7 @@ dist_project_lib_DATA += startup/linkcmds
noinst_PROGRAMS += startup.rel
startup_rel_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
- ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
+ startup/bspstart.c ../../shared/bootcard.c \
../../shared/sbrk.c startup/Hwr_init.c \
startup/genpvec.c ../../shared/gnatinstallhandler.c
startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
diff --git a/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c b/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c
index fb6d4b330a..e17bb625f6 100644
--- a/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c
@@ -195,16 +195,17 @@ void initialize_PMC() {
/*PAGE
*
- * SCORE603e_bsp_postdriver_hook
+ * bsp_postdriver_hook
*
* Standard post driver hook plus some BSP specific stuff.
*/
-void SCORE603e_bsp_postdriver_hook(void)
+void bsp_postdriver_hook(void)
{
extern void Init_EE_mask_init(void);
+ extern void open_dev_console(void);
- bsp_postdriver_hook();
+ open_dev_console();
Init_EE_mask_init();
}
@@ -308,11 +309,7 @@ void bsp_start( void )
* initialize the CPU table for this BSP
*/
- Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
- Cpu_table.predriver_hook = bsp_predriver_hook; /* Init vectors */
- Cpu_table.postdriver_hook = SCORE603e_bsp_postdriver_hook;
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
- Cpu_table.idle_task_stack_size = (3 * STACK_MINIMUM_SIZE);
bsp_clicks_per_usec = 66 / 4; /* XXX get from linkcmds */