source: rtems/c/src/lib/libbsp/i386/ts_386ex/timer/timerisr.S @ 5c7f274

4.104.114.84.95
Last change on this file since 5c7f274 was cc1426bb, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/02/04 at 11:19:28
  • start/start.S: Include <rtems/asm.h> instead of <asm.h>.
  • timer/timerisr.S: Include <rtems/asm.h> instead of <asm.h>.
  • Property mode set to 100644
File size: 875 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 <rtems/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.