4.104.114.84.95
Last change
on this file since f52111f was
1d9f198a,
checked in by Joel Sherrill <joel.sherrill@…>, on 12/14/98 at 23:15:08
|
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 | |
---|
16 | BEGIN_CODE |
---|
17 | |
---|
18 | .set T1_CONTROL_REGISTER, 0xfffe1018 | timer 1 control register |
---|
19 | |
---|
20 | PUBLIC (timerisr) |
---|
21 | SYM (timerisr): |
---|
22 | orb #0x80, T1_CONTROL_REGISTER | clear T1 int status bit |
---|
23 | addql #1, SYM (Ttimer_val) | increment timer value |
---|
24 | end_timerisr: |
---|
25 | rte |
---|
26 | |
---|
27 | END_CODE |
---|
28 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.