source: rtems/c/src/lib/libcpu/arm/at91rm9200/irq/irq.h @ f4dc319a

4.104.11
Last change on this file since f4dc319a was f4dc319a, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 30, 2010 at 1:15:49 PM

2010-04-30 Sebastian Huber <sebastian.huber@…>

  • at91rm9200/irq/irq.c, at91rm9200/irq/irq.h, lpc22xx/irq/irq.c, lpc22xx/irq/irq.h, mc9328mxl/irq/irq.c, mc9328mxl/irq/irq.h, pxa255/irq/irq.c, pxa255/irq/irq.h, s3c24xx/irq/irq.c, s3c24xx/irq/irq.h: The previous interrupt warning fix changed the interrupt handler API. To fix this problem the generic interrupt support framework will be used now. This eliminates a lot of copy and paste code. The interrupt header file is now <bsp/irq.h>.
  • at91rm9200/clock/clock.c, lpc22xx/clock/clockdrv.c, mc9328mxl/clock/clockdrv.c, pxa255/clock/clock.c, s3c24xx/clock/clockdrv.c: Include <bsp/irq.h> instead of <irq.h>.
  • at91rm9200/irq/bsp_irq_asm.S, at91rm9200/irq/bsp_irq_init.c, mc9328mxl/irq/bsp_irq_asm.S, mc9328mxl/irq/bsp_irq_init.c, s3c24xx/irq/bsp_irq_asm.S, s3c24xx/irq/bsp_irq_init.c: Removed files.
  • Makefile.am, preinstall.am: Reflect changes above.
  • Property mode set to 100644
File size: 1.8 KB
Line 
1/*
2 * Interrupt handler Header file
3 *
4 * Copyright (c) 2010 embedded brains GmbH.
5 *
6 * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *
11 *  http://www.rtems.com/license/LICENSE.
12 *
13 *
14 *  $Id$
15 */
16
17#ifndef __IRQ_H__
18#define __IRQ_H__
19
20#ifndef __asm__
21
22#include <rtems.h>
23#include <rtems/irq.h>
24#include <rtems/irq-extension.h>
25
26#endif /* __asm__ */
27
28/* possible interrupt sources on the AT91RM9200 */
29#define AT91RM9200_INT_FIQ        0
30#define AT91RM9200_INT_SYSIRQ     1
31#define AT91RM9200_INT_PIOA       2
32#define AT91RM9200_INT_PIOB       3
33#define AT91RM9200_INT_PIOC       4
34#define AT91RM9200_INT_PIOD       5
35#define AT91RM9200_INT_US0        6
36#define AT91RM9200_INT_US1        7
37#define AT91RM9200_INT_US2        8
38#define AT91RM9200_INT_US3        9
39#define AT91RM9200_INT_MCI       10
40#define AT91RM9200_INT_UDP       11
41#define AT91RM9200_INT_TWI       12
42#define AT91RM9200_INT_SPI       13
43#define AT91RM9200_INT_SSC0      14
44#define AT91RM9200_INT_SSC1      15
45#define AT91RM9200_INT_SSC2      16
46#define AT91RM9200_INT_TC0       17
47#define AT91RM9200_INT_TC1       18
48#define AT91RM9200_INT_TC2       19
49#define AT91RM9200_INT_TC3       20
50#define AT91RM9200_INT_TC4       21
51#define AT91RM9200_INT_TC5       22
52#define AT91RM9200_INT_UHP       23
53#define AT91RM9200_INT_EMAC      24
54#define AT91RM9200_INT_IRQ0      25
55#define AT91RM9200_INT_IRQ1      26
56#define AT91RM9200_INT_IRQ2      27
57#define AT91RM9200_INT_IRQ3      28
58#define AT91RM9200_INT_IRQ4      28
59#define AT91RM9200_INT_IRQ5      30
60#define AT91RM9200_INT_IRQ6      31
61#define AT91RM9200_MAX_INT       32
62
63#define BSP_INTERRUPT_VECTOR_MIN 0
64
65#define BSP_INTERRUPT_VECTOR_MAX (AT91RM9200_MAX_INT - 1)
66
67#endif /* __IRQ_H__ */
Note: See TracBrowser for help on using the repository browser.