diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-03 22:24:07 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-03 22:24:07 +0000 |
commit | 03bfdbb39c1f4b934b726a7cbfc15a628b05a627 (patch) | |
tree | d520c47e00b98eedd484930a2209825f57ff61b6 /c/src/lib/libbsp/sparc/leon3/startup/bspstart.c | |
parent | 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-03bfdbb39c1f4b934b726a7cbfc15a628b05a627.tar.bz2 |
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* amba/amba.c, 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/sparc/leon3/startup/bspstart.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c b/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c index baf1b1cbef..47d17ef89c 100644 --- a/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c +++ b/c/src/lib/libbsp/sparc/leon3/startup/bspstart.c @@ -100,7 +100,7 @@ void bsp_pretasking_hook(void) bsp_spurious_initialize(); } -void bsp_leon3_predriver_hook(void); +void bsp_predriver_hook(void); /* * bsp_start @@ -113,19 +113,8 @@ void bsp_start( void ) unsigned char *work_space_start; /* - * Set up our hooks - * Make sure libc_init is done before drivers initialized so that - * they can use atexit() - */ - - Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ - Cpu_table.postdriver_hook = bsp_postdriver_hook; - Cpu_table.predriver_hook = bsp_leon3_predriver_hook; /* scan system bus */ - - /* * This should be enough interrupt stack. */ - Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY; work_space_start = |