forked from Imagelibrary/rtems
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:
@@ -291,14 +291,10 @@ 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 PCI / RTC ... */
|
||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
||||
|
||||
if( Cpu_table.interrupt_stack_size < 4*1024 )
|
||||
Cpu_table.interrupt_stack_size = 4 * 1024;
|
||||
|
||||
bsp_clicks_per_usec = (IPB_CLOCK/1000000);
|
||||
bsp_clicks_per_usec = (IPB_CLOCK/1000000);
|
||||
|
||||
/*
|
||||
* Install our own set of exception vectors
|
||||
|
||||
Reference in New Issue
Block a user