summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/unix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-03 22:26:03 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-12-03 22:26:03 +0000
commitfaf168fe82f012bc92674290e74d42b6982b6bdc (patch)
treeca76a245a680c21cd20a4c9048447b7672f7cda9 /c/src/lib/libbsp/unix
parent2007-12-03 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-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')
-rw-r--r--c/src/lib/libbsp/unix/posix/ChangeLog9
-rw-r--r--c/src/lib/libbsp/unix/posix/startup/bspstart.c22
2 files changed, 9 insertions, 22 deletions
diff --git a/c/src/lib/libbsp/unix/posix/ChangeLog b/c/src/lib/libbsp/unix/posix/ChangeLog
index f4bb2fc669..e8719aa6d7 100644
--- a/c/src/lib/libbsp/unix/posix/ChangeLog
+++ b/c/src/lib/libbsp/unix/posix/ChangeLog
@@ -1,3 +1,12 @@
+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.
+
2007-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* preinstall.am: Save changes again to make tagger happy.
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
*/