4.104.114.84.95
Last change
on this file since f286330 was
f286330,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/02/04 at 11:20:03
|
- timer/timerisr.S: Include <rtems/asm.h> instead of <asm.h>.
|
-
Property mode set to
100644
|
File size:
920 bytes
|
Line | |
---|
1 | /* timer_isr() |
---|
2 | * |
---|
3 | * This routine provides the ISR for the MC68230 timer on the Motorola |
---|
4 | * IDP board. The timer is set up to generate an interrupt at maximum |
---|
5 | * intervals. |
---|
6 | * |
---|
7 | * Code modified by Doug McBride, Colorado Space Grant College |
---|
8 | * countdown should be loaded automatically |
---|
9 | * |
---|
10 | * Input parameters: NONE |
---|
11 | * |
---|
12 | * Output parameters: NONE |
---|
13 | * |
---|
14 | * COPYRIGHT (c) 1989-1999. |
---|
15 | * On-Line Applications Research Corporation (OAR). |
---|
16 | * |
---|
17 | * The license and distribution terms for this file may be |
---|
18 | * found in the file LICENSE in this distribution or at |
---|
19 | * http://www.rtems.com/license/LICENSE. |
---|
20 | * |
---|
21 | * $Id$ |
---|
22 | */ |
---|
23 | |
---|
24 | #include <rtems/asm.h> |
---|
25 | |
---|
26 | BEGIN_CODE |
---|
27 | |
---|
28 | .set TSR, 0x00c0106B | base address of PIT register "TSR" |
---|
29 | |
---|
30 | PUBLIC (timerisr) |
---|
31 | SYM (timerisr): |
---|
32 | movb #1,TSR | acknowledge interrupt |
---|
33 | addql #1, SYM (Ttimer_val) | increment timer value |
---|
34 | rte |
---|
35 | |
---|
36 | END_CODE |
---|
37 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.