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.
This commit is contained in:
Joel Sherrill
2007-12-03 22:26:03 +00:00
parent e13e90cabc
commit faf168fe82
20 changed files with 95 additions and 66 deletions

View File

@@ -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.

View File

@@ -178,34 +178,12 @@ 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
*/