source: rtems/c/src/lib/libbsp/i386/ts_386ex/timer/timerisr.S @ 7e642ba

4.104.114.84.95
Last change on this file since 7e642ba was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • Property mode set to 100644
File size: 874 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.OARcorp.com/rtems/license.html.
17 *
18 *  $Id$
19 */
20
21#include "asm.h"
22
23        BEGIN_CODE
24
25        EXTERN (Ttimer_val)
26
27        PUBLIC (timerisr)
28SYM (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
38END_CODE
39END
Note: See TracBrowser for help on using the repository browser.