summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/timer/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/timer/timer.c')
-rw-r--r--c/src/lib/libbsp/i386/pc386/timer/timer.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/timer/timer.c b/c/src/lib/libbsp/i386/pc386/timer/timer.c
index 3024ac70c7..210dd7f6f2 100644
--- a/c/src/lib/libbsp/i386/pc386/timer/timer.c
+++ b/c/src/lib/libbsp/i386/pc386/timer/timer.c
@@ -38,7 +38,6 @@
| $Id$
+--------------------------------------------------------------------------*/
-
#include <stdlib.h>
#include <bsp.h>
@@ -90,7 +89,6 @@ rdtsc(void)
return result;
} /* rdtsc */
-
/*-------------------------------------------------------------------------+
| Function: Timer_exit
| Description: Timer cleanup routine at RTEMS exit. NOTE: This routine is
@@ -104,7 +102,6 @@ Timer_exit(void)
{
} /* Timer_exit */
-
/*-------------------------------------------------------------------------+
| Function: Timer_initialize
| Description: Timer initialization routine.
@@ -126,7 +123,6 @@ Timer_initialize(void)
Ttimer_val = rdtsc(); /* read starting time */
} /* Timer_initialize */
-
/*-------------------------------------------------------------------------+
| Function: Read_timer
| Description: Read hardware timer value.
@@ -156,7 +152,6 @@ Read_timer(void)
+--------------------------------------------------------------------------*/
#define US_PER_ISR 250 /* Number of micro-seconds per timer interruption */
-
/*-------------------------------------------------------------------------+
| Function: Timer_exit
| Description: Timer cleanup routine at RTEMS exit. NOTE: This routine is
@@ -178,7 +173,6 @@ timerOff(const rtems_raw_irq_connect_data* used)
outport_byte(TIMER_CNTR0, 0);
} /* Timer_exit */
-
static void
timerOn(const rtems_raw_irq_connect_data* used)
{
@@ -248,7 +242,6 @@ Timer_initialize(void)
Ttimer_val = 0;
} /* Timer_initialize */
-
/*-------------------------------------------------------------------------+
| Function: Read_timer
| Description: Read hardware timer value.
@@ -278,7 +271,6 @@ Read_timer(void)
#endif /* pentium */
-
/*-------------------------------------------------------------------------+
| Function: Empty_function
| Description: Empty function used in time tests.
@@ -291,7 +283,6 @@ rtems_status_code Empty_function(void)
return RTEMS_SUCCESSFUL;
} /* Empty function */
-
/*-------------------------------------------------------------------------+
| Function: Set_find_average_overhead
| Description: Set internal Timer_driver_Find_average_overhead flag value.
@@ -319,7 +310,6 @@ void loadTimerValue( unsigned short loadedValue )
outport_byte(TIMER_CNTR0, (loadedValue >> 8) & 0xff);
}
-
/*-------------------------------------------------------------------------+
| Description: Reads the current value of the timer, and converts the
| number of ticks to micro-seconds.