Last change
on this file since 53df8ff was
53df8ff,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:44:09
|
2003-09-04 Joel Sherrill <joel@…>
- clock/ckinit.c, clock/rtc.c, console/console.c, include/bsp.h,
include/coverhd.h, network/ne2000.c, start/80386ex.h,
start/80386ex.inc, start/macros.inc, start/start.S,
startup/bspstart.c, startup/linkcmds, startup/setvec.c,
timer/timer.c, timer/timerisr.S, tools/debug_ada/init.c,
tools/debug_c/init.c, tools/debug_c/serial_gdb.c,
tools/debug_c/system.h, tools/network_ada/listener/init.c,
tools/network_ada/tcprelay/init.c, tools/ts_1325_ada/init.c: URL for
license changed.
|
-
Property mode set to
100644
|
File size:
869 bytes
|
Line | |
---|
1 | /* timer_isr() |
---|
2 | * |
---|
3 | * This routine provides the ISR for the Z8036 timer on the MVME136 |
---|
4 | * board. The timer is set up to generate an interrupt at maximum |
---|
5 | * intervals. |
---|
6 | * |
---|
7 | * Input parameters: NONE |
---|
8 | * |
---|
9 | * Output parameters: NONE |
---|
10 | * |
---|
11 | * COPYRIGHT (c) 1989-1999. |
---|
12 | * On-Line Applications Research Corporation (OAR). |
---|
13 | * |
---|
14 | * The license and distribution terms for this file may be |
---|
15 | * found in the file LICENSE in this distribution or at |
---|
16 | * http://www.rtems.com/license/LICENSE. |
---|
17 | * |
---|
18 | * $Id$ |
---|
19 | */ |
---|
20 | |
---|
21 | #include "asm.h" |
---|
22 | |
---|
23 | BEGIN_CODE |
---|
24 | |
---|
25 | EXTERN (Ttimer_val) |
---|
26 | |
---|
27 | PUBLIC (timerisr) |
---|
28 | SYM (timerisr): |
---|
29 | incl SYM (Ttimer_val) # add another tick |
---|
30 | pushl eax |
---|
31 | movb 0xa0,al /* signal generic End Of Interrupt (EOI) to slave PIC */ |
---|
32 | outb al, $0x20 |
---|
33 | movb $0x20, al |
---|
34 | outb al, $0x20 /* signal generic EOI to Master PIC */ |
---|
35 | popl eax |
---|
36 | iret |
---|
37 | |
---|
38 | END_CODE |
---|
39 | END |
---|
Note: See
TracBrowser
for help on using the repository browser.