Ignore:
Timestamp:
May 17, 2005, 3:08:26 PM (15 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
368c27c
Parents:
d8999b7
Message:

2005-05-17 Jennifer Averett <jennifer.averett@…>

  • at91rm9200/irq/irq.h, mc9328mxl/irq/irq.h, s3c2400/irq/irq.h: Modified names and types to match rtems/irq.h. Note: rtems/irq.h should be included after the addition of a parameter to ISRs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/arm/at91rm9200/irq/irq.h

    rd8999b7 r2c24794  
    3333 * Constants
    3434 **********************************************************************/
    35 /* enum of the possible interrupt sources on the AT91RM9200 */
    36 typedef enum {
    37     AT91RM9200_INT_FIQ  = 0,
    38     AT91RM9200_INT_SYSIRQ,
    39     AT91RM9200_INT_PIOA,
    40     AT91RM9200_INT_PIOB,
    41     AT91RM9200_INT_PIOC,
    42     AT91RM9200_INT_PIOD,
    43     AT91RM9200_INT_US0,
    44     AT91RM9200_INT_US1,
    45     AT91RM9200_INT_US2,
    46     AT91RM9200_INT_US3,
    47     AT91RM9200_INT_MCI,
    48     AT91RM9200_INT_UDP,
    49     AT91RM9200_INT_TWI,
    50     AT91RM9200_INT_SPI,
    51     AT91RM9200_INT_SSC0,
    52     AT91RM9200_INT_SSC1,
    53     AT91RM9200_INT_SSC2,
    54     AT91RM9200_INT_TC0,
    55     AT91RM9200_INT_TC1,
    56     AT91RM9200_INT_TC2,
    57     AT91RM9200_INT_TC3,
    58     AT91RM9200_INT_TC4,
    59     AT91RM9200_INT_TC5,
    60     AT91RM9200_INT_UHP,
    61     AT91RM9200_INT_EMAC,
    62     AT91RM9200_INT_IRQ0,
    63     AT91RM9200_INT_IRQ1,
    64     AT91RM9200_INT_IRQ2,
    65     AT91RM9200_INT_IRQ3,
    66     AT91RM9200_INT_IRQ4,
    67     AT91RM9200_INT_IRQ5,
    68     AT91RM9200_INT_IRQ6,
    69     AT91RM9200_MAX_INT
    70 } rtems_irq_symbolic_name;
     35/* possible interrupt sources on the AT91RM9200 */
     36#define AT91RM9200_INT_FIQ        0
     37#define AT91RM9200_INT_SYSIRQ     1
     38#define AT91RM9200_INT_PIOA       2
     39#define AT91RM9200_INT_PIOB       3
     40#define AT91RM9200_INT_PIOC       4
     41#define AT91RM9200_INT_PIOD       5
     42#define AT91RM9200_INT_US0        6
     43#define AT91RM9200_INT_US1        7
     44#define AT91RM9200_INT_US2        8
     45#define AT91RM9200_INT_US3        9
     46#define AT91RM9200_INT_MCI       10
     47#define AT91RM9200_INT_UDP       11
     48#define AT91RM9200_INT_TWI       12
     49#define AT91RM9200_INT_SPI       13
     50#define AT91RM9200_INT_SSC0      14
     51#define AT91RM9200_INT_SSC1      15
     52#define AT91RM9200_INT_SSC2      16
     53#define AT91RM9200_INT_TC0       17
     54#define AT91RM9200_INT_TC1       18
     55#define AT91RM9200_INT_TC2       19
     56#define AT91RM9200_INT_TC3       20
     57#define AT91RM9200_INT_TC4       21
     58#define AT91RM9200_INT_TC5       22
     59#define AT91RM9200_INT_UHP       23
     60#define AT91RM9200_INT_EMAC      24
     61#define AT91RM9200_INT_IRQ0      25
     62#define AT91RM9200_INT_IRQ1      26
     63#define AT91RM9200_INT_IRQ2      27
     64#define AT91RM9200_INT_IRQ3      28
     65#define AT91RM9200_INT_IRQ4      28
     66#define AT91RM9200_INT_IRQ5      30
     67#define AT91RM9200_INT_IRQ6      31
     68#define AT91RM9200_MAX_INT       32
    7169
    7270/* vector table used by shared/irq_init.c */
     
    7977
    8078struct  __rtems_irq_connect_data__;     /* forward declaratiuon */
    81 
     79typedef unsigned int rtems_irq_number;
    8280typedef void (*rtems_irq_hdl)       (void);
    8381typedef void (*rtems_irq_enable)    (const struct __rtems_irq_connect_data__*);
     
    8785typedef struct __rtems_irq_connect_data__ {
    8886    /* IRQ line */
    89     rtems_irq_symbolic_name      name;
     87    rtems_irq_number            name;
    9088
    9189    /* Handler */
Note: See TracChangeset for help on using the changeset viewer.