Changeset b2d7cf06 in rtems


Ignore:
Timestamp:
Apr 30, 2010, 2:41:12 PM (11 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.10, 4.11, 5, master
Children:
14cd67c
Parents:
5ae1cae
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, console/uart.c, network/network.c: Interrupt support changes.
Location:
c/src/lib/libbsp/arm/csb336
Files:
7 edited

Legend:

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

    r5ae1cae rb2d7cf06  
     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, console/uart.c, network/network.c: Interrupt
     6        support changes.
     7
    182010-04-30      Sebastian Huber <sebastian.huber@embedded-brains.de>
    29
  • c/src/lib/libbsp/arm/csb336/Makefile.am

    r5ae1cae rb2d7cf06  
    1313include_HEADERS = include/bsp.h
    1414include_HEADERS += ../../shared/include/tm27.h
     15
     16include_bsp_HEADERS =
    1517
    1618nodist_include_HEADERS = include/bspopts.h
     
    4042# abort
    4143libbsp_a_SOURCES += ../shared/abort/abort.c
     44# IRQ
     45include_bsp_HEADERS += ../../shared/include/irq-generic.h \
     46        ../../shared/include/irq-info.h
     47libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
     48        ../../shared/src/irq-legacy.c \
     49        ../../shared/src/irq-info.c \
     50        ../../shared/src/irq-shell.c \
     51        ../../shared/src/irq-server.c
    4252
    4353if HAS_NETWORKING
  • c/src/lib/libbsp/arm/csb336/console/uart.c

    r5ae1cae rb2d7cf06  
    1818#include <termios.h>
    1919#include <rtems/irq.h>
    20 #include <irq.h>
     20#include <bsp/irq.h>
    2121#include <mc9328mxl.h>
    2222
  • c/src/lib/libbsp/arm/csb336/include/bsp.h

    r5ae1cae rb2d7cf06  
    2828#include <mc9328mxl.h>
    2929
     30#define BSP_FEATURE_IRQ_EXTENSION
     31
    3032/* What is the input clock freq in hertz? */
    3133#define BSP_OSC_FREQ  16000000    /* 16 MHz oscillator */
  • c/src/lib/libbsp/arm/csb336/network/network.c

    r5ae1cae rb2d7cf06  
    3434#include <netinet/if_ether.h>
    3535
    36 #include <irq.h>
     36#include <bsp/irq.h>
    3737
    3838/*  RTEMS event used by interrupt handler to start receive daemon. */
  • c/src/lib/libbsp/arm/csb336/preinstall.am

    r5ae1cae rb2d7cf06  
    6666PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
    6767
     68$(PROJECT_INCLUDE)/bsp/irq-generic.h: ../../shared/include/irq-generic.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     69        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq-generic.h
     70PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq-generic.h
     71
     72$(PROJECT_INCLUDE)/bsp/irq-info.h: ../../shared/include/irq-info.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     73        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq-info.h
     74PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq-info.h
     75
  • c/src/lib/libbsp/arm/csb336/startup/bspstart.c

    r5ae1cae rb2d7cf06  
    1313
    1414#include <bsp.h>
     15#include <bsp/irq-generic.h>
    1516#include <rtems/bspIo.h>
    1617#include <mc9328mxl.h>
    1718
    18 extern void rtems_irq_mngt_init(void);
    1919extern void rtems_exception_init_mngt(void);
    2020
     
    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} /* bsp_start */
    7072
Note: See TracChangeset for help on using the changeset viewer.