2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>

* timer/timer.c: Add missing prototypes.
This commit is contained in:
Ralf Corsepius
2008-08-18 07:24:04 +00:00
parent 142025c80c
commit fbc74c35ca
5 changed files with 16 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Add missing prototypes.
2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com> 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Add capability for bootcard.c BSP Initialization * startup/bspstart.c: Add capability for bootcard.c BSP Initialization

View File

@@ -1,3 +1,7 @@
2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Add missing prototypes.
2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com> 2008-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/bspstart.c: Add capability for bootcard.c BSP Initialization * startup/bspstart.c: Add capability for bootcard.c BSP Initialization

View File

@@ -25,7 +25,7 @@ rtems_boolean Timer_driver_Find_average_overhead;
#define TIMER_VECTOR MONGOOSEV_IRQ_TIMER2 #define TIMER_VECTOR MONGOOSEV_IRQ_TIMER2
#endif #endif
void Timer_initialize() void Timer_initialize(void)
{ {
/* /*
* Programming the compare register as the maximum value should let * Programming the compare register as the maximum value should let
@@ -56,7 +56,7 @@ void Timer_initialize()
/* mongoose-v can count cycles. :) */ /* mongoose-v can count cycles. :) */
#include <rtems/bspIo.h> #include <rtems/bspIo.h>
int Read_timer() int Read_timer(void)
{ {
uint32_t clicks; uint32_t clicks;
uint32_t total; uint32_t total;

View File

@@ -1,3 +1,7 @@
2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Add missing prototypes.
2008-07-24 Sebastian Huber <sebastian.huber@embedded-brains.de> 2008-07-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/bspstart.c: Changed bsp_get_workarea() to * startup/bspstart.c: Changed bsp_get_workarea() to

View File

@@ -19,7 +19,7 @@
rtems_boolean Timer_driver_Find_average_overhead; rtems_boolean Timer_driver_Find_average_overhead;
void Timer_initialize() void Timer_initialize(void)
{ {
/* /*
* Programming the compare register as the maximum value should let * Programming the compare register as the maximum value should let
@@ -45,7 +45,7 @@ void Timer_initialize()
#define LEAST_VALID 1 /* Don't trust a value lower than this */ #define LEAST_VALID 1 /* Don't trust a value lower than this */
/* tx39 simulator can count instructions. :) */ /* tx39 simulator can count instructions. :) */
int Read_timer() int Read_timer(void)
{ {
uint32_t total; uint32_t total;