OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [i386/] [pc386/] [timer/] [timerisr.S] - Blame information for rev 389

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*-------------------------------------------------------------------------+
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-1999.
23
| *  On-Line Applications Research Corporation (OAR).
24
| *
25
| *  The license and distribution terms for this file may be
26
| *  found in found in the file LICENSE in this distribution or at
27
| *  http://www.OARcorp.com/rtems/license.html.
28
| **************************************************************************
29
|
30
|  $Id: timerisr.S,v 1.2 2001-09-27 11:59:48 chris Exp $
31
+--------------------------------------------------------------------------*/
32
 
33
 
34
#include "asm.h"
35
 
36
BEGIN_CODE
37
 
38
        EXTERN(Ttimer_val)
39
 
40
/*-------------------------------------------------------------------------+
41
|         Function: rtems_isr timerisr(rtems_vector_number);
42
|      Description: ISR for the timer. The timer is set up to generate an
43
|                   interrupt at maximum intervals.
44
| Global Variables: None.
45
|        Arguments: standard - see RTEMS documentation.
46
|          Returns: standard return value - see RTEMS documentation.
47
+--------------------------------------------------------------------------*/
48
        PUBLIC(timerisr)
49
SYM (timerisr):
50
        incl    Ttimer_val      # another tick
51
        pushl   eax
52
        movb    $0x20, al
53
        outb    al, $0x20       # signal generic End Of Interrupt (EOI) to PIC
54
        popl    eax
55
        iret
56
 
57
END_CODE
58
 
59
END
60
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.