forked from Imagelibrary/rtems
2007-11-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/clock.c, 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:
@@ -65,7 +65,7 @@
|
||||
/* conditions. */
|
||||
/* The mmu is unused at this time. */
|
||||
/* */
|
||||
/* COPYRIGHT (c) 1989-1999. */
|
||||
/* COPYRIGHT (c) 1989-2007.
|
||||
/* On-Line Applications Research Corporation (OAR). */
|
||||
/* */
|
||||
/* The license and distribution terms for this file may be */
|
||||
@@ -132,6 +132,10 @@ rtems_configuration_table BSP_Configuration;
|
||||
rtems_cpu_table Cpu_table;
|
||||
char *rtems_progname;
|
||||
|
||||
/*
|
||||
* Driver configuration parameters
|
||||
*/
|
||||
uint32_t bsp_clicks_per_usec;
|
||||
|
||||
/*
|
||||
* Use the shared implementations of the following routines.
|
||||
@@ -290,12 +294,13 @@ void bsp_start(void)
|
||||
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;
|
||||
Cpu_table.clicks_per_usec = (IPB_CLOCK/1000000);
|
||||
Cpu_table.exceptions_in_RAM = TRUE;
|
||||
|
||||
if( Cpu_table.interrupt_stack_size < 4*1024 )
|
||||
Cpu_table.interrupt_stack_size = 4 * 1024;
|
||||
|
||||
bsp_clicks_per_usec = (IPB_CLOCK/1000000);
|
||||
|
||||
/*
|
||||
* Install our own set of exception vectors
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user