source: rtems/c/src/lib/libbsp/i386/i386ex/timer/timerisr.S @ 6ff7e2c

4.104.114.84.95
Last change on this file since 6ff7e2c was 6ff7e2c, checked in by Joel Sherrill <joel.sherrill@…>, on 09/04/03 at 18:51:20

2003-09-04 Joel Sherrill <joel@…>

  • clock/ckinit.c, console/console.c, include/bsp.h, include/coverhd.h, 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: URL for license changed.
  • Property mode set to 100644
File size: 883 bytes
RevLine 
[752cd8f]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 *
[08311cc3]11 *  COPYRIGHT (c) 1989-1999.
[752cd8f]12 *  On-Line Applications Research Corporation (OAR).
13 *
[98e4ebf5]14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
[6ff7e2c]16 *  http://www.rtems.com/license/LICENSE.
[752cd8f]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        addl    $250, SYM (Ttimer_val)   # another 250 microseconds
[bd8c8b2a]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
[752cd8f]36        iret
37
38END_CODE
39END
Note: See TracBrowser for help on using the repository browser.