forked from Imagelibrary/rtems
2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* timer/timer.c: Add missing prototypes.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user