diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-03 22:26:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-12-03 22:26:03 +0000 |
commit | faf168fe82f012bc92674290e74d42b6982b6bdc (patch) | |
tree | ca76a245a680c21cd20a4c9048447b7672f7cda9 /c/src/lib/libbsp/unix/posix/startup/bspstart.c | |
parent | 2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-faf168fe82f012bc92674290e74d42b6982b6bdc.tar.bz2 |
2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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/unix/posix/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/unix/posix/startup/bspstart.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/c/src/lib/libbsp/unix/posix/startup/bspstart.c b/c/src/lib/libbsp/unix/posix/startup/bspstart.c index 88834879cf..a9923db267 100644 --- a/c/src/lib/libbsp/unix/posix/startup/bspstart.c +++ b/c/src/lib/libbsp/unix/posix/startup/bspstart.c @@ -179,33 +179,11 @@ void bsp_start(void) BSP_Configuration.work_space_start = (void *) workspace_ptr; /* - * Set up our hooks - * Make sure libc_init is done before drivers init'd so that - * they can use atexit() - */ - - Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */ - - Cpu_table.predriver_hook = NULL; - - Cpu_table.postdriver_hook = bsp_postdriver_hook; - - Cpu_table.idle_task = NULL; /* do not override system IDLE task */ - - /* - * Don't zero out the workspace since it is in the BSS under UNIX. - */ - - Cpu_table.do_zero_of_workspace = FALSE; - - /* * XXX; interrupt stack not currently used, so this doesn't matter */ Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY; - Cpu_table.extra_mpci_receive_server_stack = 0; - /* * Add 1 extension for MPCI_fatal */ |