forked from Imagelibrary/rtems
2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/startup/bspstart.c: Eliminate PowerPC specific elements from the CPU Table. They have been replaced with variables named bsp_XXX as needed.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* shared/startup/bspstart.c: Eliminate PowerPC specific elements from
|
||||||
|
the CPU Table. They have been replaced with variables named bsp_XXX
|
||||||
|
as needed.
|
||||||
|
|
||||||
2007-11-29 Till Straumann <strauman@slac.stanford.edu>
|
2007-11-29 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* Makefile.am, shared/flash, shared/flash/flash.c,
|
* Makefile.am, shared/flash, shared/flash/flash.c,
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* The generic CPU dependent initialization has been performed
|
* The generic CPU dependent initialization has been performed
|
||||||
* before this routine is invoked.
|
* before this routine is invoked.
|
||||||
*
|
*
|
||||||
* COPYRIGHT (c) 1989-1998.
|
* COPYRIGHT (c) 1989-2007.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
@@ -53,6 +53,12 @@ SPR_RW(SPRG1)
|
|||||||
extern void ShowBATS();`
|
extern void ShowBATS();`
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Driver configuration parameters
|
||||||
|
*/
|
||||||
|
uint32_t bsp_clicks_per_usec;
|
||||||
|
|
||||||
|
/*
|
||||||
/*
|
/*
|
||||||
* Copy of residuals passed by firmware
|
* Copy of residuals passed by firmware
|
||||||
*/
|
*/
|
||||||
@@ -384,7 +390,8 @@ void bsp_start( void )
|
|||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
Cpu_table.clicks_per_usec = BSP_bus_frequency/(BSP_time_base_divisor * 1000);
|
|
||||||
|
bsp_clicks_per_usec = BSP_bus_frequency/(BSP_time_base_divisor * 1000);
|
||||||
|
|
||||||
#ifdef SHOW_MORE_INIT_SETTINGS
|
#ifdef SHOW_MORE_INIT_SETTINGS
|
||||||
printk("BSP_Configuration.work_space_size = %x\n",
|
printk("BSP_Configuration.work_space_size = %x\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user