source: rtems/c/src/lib/libbsp/m68k/mvme147/timer/timerisr.S @ 1d9f198a

4.104.114.84.95
Last change on this file since 1d9f198a was 1d9f198a, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 14, 1998 at 11:15:08 PM

Patch from Ralf Corsepius <corsepiu@…> to rename all
.s files to .S in conformance with GNU conventaons. This is a
minor step along the way to supporting automake.

  • Property mode set to 100644
File size: 612 bytes
Line 
1/*  timer_isr()
2 *
3 *  This routine provides the ISR for the PCC timer on the MVME147
4 *  board.   The timer is set up to generate an interrupt at maximum
5 *  intervals.
6 *
7 *  MVME147 port for TNI - Telecom Bretagne
8 *  by Dominique LE CAMPION (Dominique.LECAMPION@enst-bretagne.fr)
9 *  May 1996
10 *
11 *  $Id$
12 */
13
14#include "asm.h"
15
16BEGIN_CODE
17
18.set T1_CONTROL_REGISTER,  0xfffe1018    | timer 1 control register
19
20        PUBLIC (timerisr)
21SYM (timerisr):
22        orb     #0x80, T1_CONTROL_REGISTER | clear T1 int status bit
23        addql   #1, SYM (Ttimer_val)     | increment timer value
24end_timerisr:
25        rte     
26
27END_CODE
28END
Note: See TracBrowser for help on using the repository browser.