Ignore:
Timestamp:
Apr 30, 2010, 1:15:49 PM (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.10, 4.11, master
Children:
439d00ca
Parents:
2a2469b
Message:

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.
File:
1 edited

Legend:

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

    r2a2469b rf4dc319a  
    11/*
    22 * Interrupt handler Header file
     3 *
     4 * Copyright (c) 2010 embedded brains GmbH.
    35 *
    46 * Copyright (c) 2004 by Jay Monkman <jtm@lopingdog.com>
     
    1618#define __IRQ_H__
    1719
    18 #ifdef __cplusplus
    19 extern "C" {
    20 #endif
    21 
    2220#ifndef __asm__
    2321
    24 /*
    25  * Include some preprocessor value also used by assember code
    26  */
     22#include <rtems.h>
     23#include <rtems/irq.h>
     24#include <rtems/irq-extension.h>
    2725
    28 #include <rtems/irq.h>
    29 #include <rtems.h>
    30 #include <at91rm9200.h>
     26#endif /* __asm__ */
    3127
    32 extern void default_int_handler(rtems_irq_hdl_param unused);
    33 /***********************************************************************
    34  * Constants
    35  **********************************************************************/
    3628/* possible interrupt sources on the AT91RM9200 */
    3729#define AT91RM9200_INT_FIQ        0
     
    6961#define AT91RM9200_MAX_INT       32
    7062
    71 /* vector table used by shared/irq_init.c */
    72 /* we can treat the AT91RM9200 AIC_SVR_BASE as */
    73 /* a vector table */
    74 #define VECTOR_TABLE AIC_SVR_BASE
     63#define BSP_INTERRUPT_VECTOR_MIN 0
    7564
    76 /*
    77  * function to initialize the interrupt for a specific BSP
    78  */
    79 void BSP_rtems_irq_mngt_init();
    80 
    81 #endif /* __asm__ */
    82 
    83 #ifdef __cplusplus
    84 }
    85 #endif
     65#define BSP_INTERRUPT_VECTOR_MAX (AT91RM9200_MAX_INT - 1)
    8666
    8767#endif /* __IRQ_H__ */
Note: See TracChangeset for help on using the changeset viewer.