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:
Joel Sherrill
2008-01-11 22:40:40 +00:00
parent 4b10f2001e
commit c730ce07c2
2 changed files with 9 additions and 0 deletions

View File

@@ -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

View File

@@ -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