source: rtems/c/src/lib/libcpu/a29k/timer/timerisr.c @ 21677c0e

4.104.114.84.95
Last change on this file since 21677c0e was 21677c0e, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 26, 2000 at 2:20:08 PM

Patch rtems-rc-20000118-0.diff from Ralf Corsepius <corsepiu@…>
that converts the a29k to automake.

This patch contains

  • An initial merger of the libcpu/a29k stuff you sent yesterday. AFAIS, most code inside them seems to be empty stubs. One file even contains a function called mips_* which might indicate that this part might contain mips code or the code the initial porter used as template for porting. Unfortunately, I don't know anything about the a29k so I can't comment on the details.
  • A dummy bsp_specs to libbsp/29k/portsw
  • An update to the automake files related to the a29k.

Note:

  • This patch is completely untested, because I don't have a toolchain for it.
  • The files in libcpu/a29k include bsp.h => The libbsp vs. libcpu-issue hits again.
  • Property mode set to 100644
File size: 1.3 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, 1990, 1991, 1992, 1993, 1994.
17 *  On-Line Applications Research Corporation (OAR).
18 *  All rights assigned to U.S. Government, 1994.
19 *
20 *  This material may be reproduced by or for the U.S. Government pursuant
21 *  to the copyright license under the clause at DFARS 252.227-7013.  This
22 *  notice must appear in all copies of this file and its derivatives.
23 *
24 *  timerisr.c,v 1.2 1995/05/31 16:56:40 joel Exp
25 */
26
27#ifndef lint
28static char _sccsid[] = "@(#)timerisr.c 03/15/96     1.1\n";
29#endif
30
31#include <rtems.h>
32
33extern rtems_unsigned32 _Timer_interrupts;
34
35void timerisr( void )
36{
37  /*
38   *  _Timer_interrupts += TIMER_BETWEEN_OVERFLOWS  (usually in microseconds)
39   *  return from interrupt
40   */
41}
Note: See TracBrowser for help on using the repository browser.