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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [HCS12_GCC_banked/] [asm-m68hcs12/] [interrupts.h] - Blame information for rev 609

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

Line No. Rev Author Line
1 588 jeremybenn
/* Interrupt Vectors
2
   Copyright (C) 2000 Free Software Foundation, Inc.
3
   Written by Stephane Carrez (stcarrez@worldnet.fr)
4
   Modified; Jefferson Smith, Robotronics; for HC12/9S12
5
 
6
This file is free software; you can redistribute it and/or modify it
7
under the terms of the GNU General Public License as published by the
8
Free Software Foundation; either version 2, or (at your option) any
9
later version.
10
 
11
In addition to the permissions in the GNU General Public License, the
12
Free Software Foundation gives you unlimited permission to link the
13
compiled version of this file with other programs, and to distribute
14
those programs without any restriction coming from the use of this
15
file.  (The General Public License restrictions do apply in other
16
respects; for example, they cover modification of the file, and
17
distribution when not linked into another program.)
18
 
19
This file is distributed in the hope that it will be useful, but
20
WITHOUT ANY WARRANTY; without even the implied warranty of
21
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
22
General Public License for more details.
23
 
24
You should have received a copy of the GNU General Public License
25
along with this program; see the file COPYING.  If not, write to
26
the Free Software Foundation, 59 Temple Place - Suite 330,
27
Boston, MA 02111-1307, USA.  */
28
 
29
#ifndef _M68HC12_INTERRUPTS_H
30
#define _M68HC12_INTERRUPTS_H
31
 
32
/*! @defgroup interrupts Interrupts.
33
 
34
 */
35
/*@{*/
36
 
37
/*! Interrupt handler prototype.  */
38
typedef void (* interrupt_t) (void);
39
 
40
#ifdef mc68hcs12
41
#       include "interrupts-dp256.h"
42
#endif
43
 
44
/*! Interrupt vector table.
45
 
46
    The interrupt vector table is in general located at `0xff80'
47
    in memory.  It is at the same address as the interrupt
48
    vectors structure (alias).  */
49
extern interrupt_t _vectors_addr[MAX_VECTORS];
50
 
51
extern interrupt_vectors_t _vectors __asm__("_vectors_addr");
52
 
53
/*@}*/
54
#endif  /* _M68HC12_INTERRUPTS_H */

powered by: WebSVN 2.1.0

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