source: rtems/c/src/lib/libbsp/or32/orp/timer/timerisr.c @ a24d946

4.104.114.84.95
Last change on this file since a24d946 was a24d946, checked in by Joel Sherrill <joel.sherrill@…>, on 08/06/02 at 13:57:03

2002-08-06 Chris Ziomkowski <chris@…>

  • .cvsignore, Makefile.am, README, bsp_specs, configure.ac, times, clock/.cvsignore, clock/Makefile.am, clock/clockdrv.c, console/.cvsignore, console/Makefile.am, console/console.c, console/console.h, include/.cvsignore, include/Makefile.am, include/bsp.h, start/.cvsignore, start/Makefile.am, start/start.S, startup/.cvsignore, startup/bspclean.c, startup/bspstart.c, startup/linkcmds, startup/main.c, startup/setvec.c, timer/.cvsignore, timer/Makefile.am, timer/timer.c, timer/timerisr.c, wrapup/.cvsignore, wrapup/Makefile.am, ChangeLog?: New files added as part of merge from OpenCores? repository.
  • 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 Read_timer()
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.OARcorp.com/rtems/license.html.
22 *
23 *  $Id$
24 */
25
26#include <rtems.h>
27
28extern rtems_unsigned32 _Timer_interrupts;
29
30void timerisr( void )
31{
32  /*
33   *  _Timer_interrupts += TIMER_BETWEEN_OVERFLOWS  (usually in microseconds)
34   *  return from interrupt
35   */
36}
Note: See TracBrowser for help on using the repository browser.