Changeset 0d83316 in rtems


Ignore:
Timestamp:
Apr 30, 2010, 2:27:24 PM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.10, 4.11, master
Children:
5ae1cae
Parents:
336d67a
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, rtl8019/rtl8019.c: Interrupt support changes.
Location:
c/src/lib/libbsp/arm/gumstix
Files:
6 edited

Legend:

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

    r336d67a r0d83316  
     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, rtl8019/rtl8019.c: Interrupt support changes.
     6
    172010-04-30      Sebastian Huber <sebastian.huber@embedded-brains.de>
    28
  • c/src/lib/libbsp/arm/gumstix/Makefile.am

    r336d67a r0d83316  
    1414include_HEADERS = include/bsp.h
    1515include_HEADERS += include/tm27.h
     16
     17include_bsp_HEADERS =
    1618
    1719nodist_include_HEADERS = include/bspopts.h
     
    3941#console
    4042libbsp_a_SOURCES += console/uarts.c ../../shared/console.c
     43# IRQ
     44include_bsp_HEADERS += ../../shared/include/irq-generic.h \
     45        ../../shared/include/irq-info.h
     46libbsp_a_SOURCES += ../../shared/src/irq-generic.c \
     47        ../../shared/src/irq-legacy.c \
     48        ../../shared/src/irq-info.c \
     49        ../../shared/src/irq-shell.c \
     50        ../../shared/src/irq-server.c
    4151#abort
    4252libbsp_a_SOURCES += ../shared/abort/abort.c
  • c/src/lib/libbsp/arm/gumstix/include/bsp.h

    r336d67a r0d83316  
    2222#include <rtems/clockdrv.h>
    2323#include <libchip/serial.h>
     24
     25#define BSP_FEATURE_IRQ_EXTENSION
    2426
    2527#define BSP_HAS_FRAME_BUFFER 1
  • c/src/lib/libbsp/arm/gumstix/preinstall.am

    r336d67a r0d83316  
    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
    6876if ON_SKYEYE
    6977endif
  • c/src/lib/libbsp/arm/gumstix/rtl8019/rtl8019.c

    r336d67a r0d83316  
    1212
    1313#include <bsp.h>
    14 #include <irq.h>
     14#include <bsp/irq.h>
    1515#include "wd80x3.h"
    1616
  • c/src/lib/libbsp/arm/gumstix/startup/bspstart.c

    r336d67a r0d83316  
    1010
    1111#include <bsp.h>
     12#include <bsp/irq-generic.h>
    1213#include <rtems/libcsupport.h>
    1314#include <rtems/libio.h>
     
    1617/* Function prototypes */
    1718void rtems_exception_init_mngt(void);
    18 void  rtems_irq_mngt_init(void);
    1919
    2020/*
     
    3737  XSCALE_INT_ICMR = 0x0;
    3838  rtems_exception_init_mngt();
    39   rtems_irq_mngt_init();
     39  if (bsp_interrupt_initialize() != RTEMS_SUCCESSFUL) {
     40    _CPU_Fatal_halt(0xe);
     41  }
    4042} /* bsp_start */
    4143
Note: See TracChangeset for help on using the changeset viewer.