forked from Imagelibrary/rtems
2008-01-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Add bsp_timer_least_valid and bsp_timer_average_overhead so tmtests link.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2008-01-11 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* startup/bspstart.c: Add bsp_timer_least_valid and
|
||||||
|
bsp_timer_average_overhead so tmtests link.
|
||||||
|
|
||||||
2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2007-12-11 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* include/bsp.h, startup/bspstart.c: Eliminate copies of the
|
* include/bsp.h, startup/bspstart.c: Eliminate copies of the
|
||||||
|
|||||||
@@ -46,6 +46,8 @@ extern unsigned long intrStackPtr;
|
|||||||
*/
|
*/
|
||||||
uint32_t bsp_clicks_per_usec;
|
uint32_t bsp_clicks_per_usec;
|
||||||
uint32_t bsp_clock_speed; /* Serial clocks per second */
|
uint32_t bsp_clock_speed; /* Serial clocks per second */
|
||||||
|
uint32_t bsp_timer_least_valid;
|
||||||
|
uint32_t bsp_timer_average_overhead;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Use the shared implementations of the following routines.
|
* Use the shared implementations of the following routines.
|
||||||
@@ -172,6 +174,8 @@ void bsp_start(void)
|
|||||||
*/
|
*/
|
||||||
bsp_clicks_per_usec = BSP_CRYSTAL_HZ / 4 / 1000000;
|
bsp_clicks_per_usec = BSP_CRYSTAL_HZ / 4 / 1000000;
|
||||||
bsp_clock_speed = BSP_CLOCK_HZ; /* for SCI baud rate generator */
|
bsp_clock_speed = BSP_CLOCK_HZ; /* for SCI baud rate generator */
|
||||||
|
bsp_timer_least_valid = 0
|
||||||
|
bsp_timer_average_overhead = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Call this in case we use TERMIOS for console I/O
|
* Call this in case we use TERMIOS for console I/O
|
||||||
|
|||||||
Reference in New Issue
Block a user