Changeset 14cd67c in rtems


Ignore:
Timestamp:
Apr 30, 2010, 2:44:17 PM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.10, 4.11, master
Children:
6e6886d5
Parents:
b2d7cf06
Message:

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

  • Makefile.am, preinstall.am: Added generic interrupt support modules.
  • include/bsp.h: Define BSP_FEATURE_IRQ_EXTENSION.
  • startup/bspstart.c, network/network.c: Interrupt support changes.
Location:
c/src/lib/libbsp/arm/csb337
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/csb337/ChangeLog

    rb2d7cf06 r14cd67c  
     12010-04-30      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * Makefile.am, preinstall.am: Added generic interrupt support modules.
     4        * include/bsp.h: Define BSP_FEATURE_IRQ_EXTENSION.
     5        * startup/bspstart.c, network/network.c: Interrupt support changes.
     6
    172010-04-30      Sebastian Huber <sebastian.huber@embedded-brains.de>
    28
  • c/src/lib/libbsp/arm/csb337/Makefile.am

    rb2d7cf06 r14cd67c  
    1616include_HEADERS += include/sed1356.h
    1717endif
     18
     19include_bsp_HEADERS =
    1820
    1921if ENABLE_UMON
     
    6163# console
    6264libbsp_a_SOURCES += ../../shared/console.c console/uarts.c
     65# IRQ
     66include_bsp_HEADERS += ../../shared/include/irq-generic.h \
     67        ../../shared/include/irq-info.h
     68libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
     69        ../../shared/src/irq-legacy.c \
     70        ../../shared/src/irq-info.c \
     71        ../../shared/src/irq-shell.c \
     72        ../../shared/src/irq-server.c
    6373if ENABLE_LCD
    6474libbsp_a_SOURCES += console/sed1356.c console/fbcons.c
  • c/src/lib/libbsp/arm/csb337/include/bsp.h

    rb2d7cf06 r14cd67c  
    2727#include <libchip/serial.h>
    2828
     29#define BSP_FEATURE_IRQ_EXTENSION
    2930
    3031/* What is the input clock freq in hertz? */
  • c/src/lib/libbsp/arm/csb337/network/network.c

    rb2d7cf06 r14cd67c  
    3636#include <netinet/if_ether.h>
    3737
    38 #include <irq.h>
     38#include <bsp/irq.h>
    3939#include <bspopts.h>
    4040
  • c/src/lib/libbsp/arm/csb337/preinstall.am

    rb2d7cf06 r14cd67c  
    107107TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
    108108
     109$(PROJECT_INCLUDE)/bsp/irq-generic.h: ../../shared/include/irq-generic.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     110        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq-generic.h
     111PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq-generic.h
     112
     113$(PROJECT_INCLUDE)/bsp/irq-info.h: ../../shared/include/irq-info.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     114        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq-info.h
     115PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq-info.h
     116
  • c/src/lib/libbsp/arm/csb337/startup/bspstart.c

    rb2d7cf06 r14cd67c  
    1818
    1919#include <bsp.h>
     20#include <bsp/irq-generic.h>
    2021#include <at91rm9200.h>
    2122#include <at91rm9200_pmc.h>
     
    2526
    2627/* Function prototypes */
    27 extern void rtems_irq_mngt_init(void);
    2828extern void rtems_exception_init_mngt(void);
    2929void bsp_libc_init( void *, uint32_t, int );
     
    6666   * Init rtems interrupt management
    6767   */
    68   rtems_irq_mngt_init();
     68  if (bsp_interrupt_initialize() != RTEMS_SUCCESSFUL) {
     69    _CPU_Fatal_halt(0xe);
     70  }
    6971
    7072} /* bsp_start */
Note: See TracChangeset for help on using the changeset viewer.