forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
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.
|
||||
|
||||
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* shmsupp/getcfg.c: Fix spacing.
|
||||
|
||||
@@ -24,7 +24,7 @@ volatile LEON3_IrqCtrl_Regs_Map *LEON3_IrqCtrl_Regs;
|
||||
int LEON3_Cpu_Index = 0;
|
||||
|
||||
/*
|
||||
* bsp_leon3_predriver_hook
|
||||
* bsp_predriver_hook
|
||||
*
|
||||
* BSP predriver hook. Called just before drivers are initialized.
|
||||
* Used to scan system bus. Probes for AHB masters, AHB slaves and
|
||||
@@ -44,7 +44,7 @@ asm(" .text \n"
|
||||
|
||||
extern rtems_configuration_table Configuration;
|
||||
|
||||
void bsp_leon3_predriver_hook(void)
|
||||
void bsp_predriver_hook(void)
|
||||
{
|
||||
int i;
|
||||
unsigned int tmp;
|
||||
|
||||
@@ -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
|
||||
@@ -112,20 +112,9 @@ 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 =
|
||||
|
||||
Reference in New Issue
Block a user