source: rtems/c/src/lib/libbsp/i386/pc386/timer/timerisr.S @ 196094eb

4.104.114.84.95
Last change on this file since 196094eb was 0162910, checked in by Joel Sherrill <joel.sherrill@…>, on 12/14/98 at 23:15:38

Patch from Ralf Corsepius <corsepiu@…> to rename all
.s files to .S in conformance with GNU conventions. This is a
minor step along the way to supporting automake.

  • Property mode set to 100644
File size: 2.1 KB
Line 
1/*-------------------------------------------------------------------------+
2| timerisr.s v1.1 - PC386 BSP - 1997/08/07
3+--------------------------------------------------------------------------+
4| This file contains the PC386 timer interrupt handler.
5+--------------------------------------------------------------------------+
6| (C) Copyright 1997 -
7| - NavIST Group - Real-Time Distributed Systems and Industrial Automation
8|
9| http://pandora.ist.utl.pt
10|
11| Instituto Superior Tecnico * Lisboa * PORTUGAL
12+--------------------------------------------------------------------------+
13| Disclaimer:
14|
15| This file is provided "AS IS" without warranty of any kind, either
16| expressed or implied.
17+--------------------------------------------------------------------------+
18| This code is base on:
19|   timerisr.s,v 1.5 1995/12/19 20:07:45 joel Exp - go32 BSP
20| With the following copyright notice:
21| **************************************************************************
22| *  COPYRIGHT (c) 1989-1998.
23| *  On-Line Applications Research Corporation (OAR).
24| *  Copyright assigned to U.S. Government, 1994.
25| *
26| *  The license and distribution terms for this file may be
27| *  found in found in the file LICENSE in this distribution or at
28| *  http://www.OARcorp.com/rtems/license.html.
29| **************************************************************************
30|
31|  $Id$
32+--------------------------------------------------------------------------*/
33
34
35#include "asm.h"
36
37BEGIN_CODE
38
39        EXTERN(Ttimer_val)
40
41/*-------------------------------------------------------------------------+
42|         Function: rtems_isr timerisr(rtems_vector_number);
43|      Description: ISR for the timer. The timer is set up to generate an
44|                   interrupt at maximum intervals.
45| Global Variables: None.
46|        Arguments: standard - see RTEMS documentation.
47|          Returns: standard return value - see RTEMS documentation.
48+--------------------------------------------------------------------------*/
49        PUBLIC(timerisr)
50SYM (timerisr):
51        incl    Ttimer_val      # another tick
52        pushl   eax
53        movb    $0x20, al
54        outb    al, $0x20       # signal generic End Of Interrupt (EOI) to PIC
55        popl    eax
56        iret
57
58END_CODE
59
60END
61
Note: See TracBrowser for help on using the repository browser.