diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-03 22:26:33 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-03 22:26:33 +0000 |
commit | 558bc253bc228fc71b9bf304a111a941862f431d (patch) | |
tree | 54e012dbb641683c39b7877c223e0a15a1323571 /c/src/lib/libbsp/powerpc/score603e/startup | |
parent | 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-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 'c/src/lib/libbsp/powerpc/score603e/startup')
-rw-r--r-- | c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c | 11 |
1 files changed, 4 insertions, 7 deletions
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 */ |