source: rtems/c/src/lib/libbsp/m68k/mvme147/timer/timerisr.s @ a858910

4.104.114.84.95
Last change on this file since a858910 was 59097e7, checked in by Joel Sherrill <joel.sherrill@…>, on 04/18/97 at 18:38:19

Changed format of comment blocks to C comments.

  • 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.