source: rtems/c/src/lib/libbsp/no_cpu/no_bsp/timer/timerisr.c @ c080c343

4.115
Last change on this file since c080c343 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*  timerisr.s
2 *
3 *  If required this ISR is used to bump a count of interval "overflow"
4 *  interrupts which have occurred since the timer was started.  The
5 *  number of overflows is taken into account in the benchmark_timer_read()
6 *  routine if necessary.
7 *
8 *  To reduce overhead this is best to be the "rawest" hardware interupt
9 *  handler you can write.  This should be the only interrupt which can
10 *  occur during the measured time period.
11 *
12 *  NOTE:  This file is USUALLY in assembly and is LEAN AND MEAN.
13 *         Any code in this isr is pure overhead which can perturb
14 *         the accuracy of the Timing Test Suite.
15 *
16 *  COPYRIGHT (c) 1989-1999.
17 *  On-Line Applications Research Corporation (OAR).
18 *
19 *  The license and distribution terms for this file may be
20 *  found in the file LICENSE in this distribution or at
21 *  http://www.rtems.org/license/LICENSE.
22 */
23
24#include <rtems.h>
25
26extern uint32_t         _Timer_interrupts;
27
28void timerisr( void )
29{
30  /*
31   *  _Timer_interrupts += TIMER_BETWEEN_OVERFLOWS  (usually in microseconds)
32   *  return from interrupt
33   */
34}
Note: See TracBrowser for help on using the repository browser.