2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>

* shared/milkymist_timer/timer.c, shared/timer/timer.c:
	Include <rtems/btimer.h>.
	Fix benchmark_timer_read() definition.
This commit is contained in:
Ralf Corsepius
2011-02-09 08:19:30 +00:00
parent af3048ad5e
commit 44d775307c
3 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
2011-02-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/milkymist_timer/timer.c, shared/timer/timer.c:
Include <rtems/btimer.h>.
Fix benchmark_timer_read() definition.
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.

View File

@@ -21,6 +21,7 @@
#include <rtems.h>
#include <bsp.h>
#include <rtems/btimer.h>
#include "../include/system_conf.h"
#include "../../shared/clock/clock.h"
@@ -58,7 +59,7 @@ void benchmark_timer_initialize( void )
/* This value is in microseconds. */
#define LEAST_VALID 4 /* Don't trust a clicks value lower than this */
int benchmark_timer_read( void )
uint32_t benchmark_timer_read( void )
{
uint32_t ticks;
uint32_t total;

View File

@@ -24,6 +24,7 @@
#include <rtems.h>
#include <bsp.h>
#include <rtems/btimer.h>
#include "../include/system_conf.h"
#include "../../shared/clock/clock.h"
@@ -77,7 +78,7 @@ void benchmark_timer_initialize( void )
/* This value is in microseconds. */
#define LEAST_VALID 4 /* Don't trust a clicks value lower than this */
int benchmark_timer_read( void )
uint32_t benchmark_timer_read( void )
{
uint32_t ticks;
uint32_t total;