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