Changeset 5ae1cae in rtems


Ignore:
Timestamp:
Apr 30, 2010, 2:30:09 PM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.10, 4.11, master
Children:
b2d7cf06
Parents:
0d83316
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: Interrupt support changes.
Location:
c/src/lib/libbsp/arm/gp32
Files:
5 edited

Legend:

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

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

    r0d83316 r5ae1cae  
    1414include_HEADERS += smc/smc.h
    1515include_HEADERS += ../../shared/include/tm27.h
     16
     17include_bsp_HEADERS =
    1618
    1719nodist_include_HEADERS = include/bspopts.h
     
    3941# console
    4042libbsp_a_SOURCES += console/uart.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/gp32/include/bsp.h

    r0d83316 r5ae1cae  
    3030#include <rtems/clockdrv.h>
    3131#include <s3c24xx.h>
     32
     33#define BSP_FEATURE_IRQ_EXTENSION
    3234
    3335#define gp32_initButtons() {rPBCON=0x0;}
  • c/src/lib/libbsp/arm/gp32/preinstall.am

    r0d83316 r5ae1cae  
    7070PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds
    7171
     72$(PROJECT_INCLUDE)/bsp/irq-generic.h: ../../shared/include/irq-generic.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     73        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq-generic.h
     74PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq-generic.h
     75
     76$(PROJECT_INCLUDE)/bsp/irq-info.h: ../../shared/include/irq-info.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     77        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq-info.h
     78PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq-info.h
     79
  • c/src/lib/libbsp/arm/gp32/startup/bspstart.c

    r0d83316 r5ae1cae  
    1616
    1717#include <bsp.h>
     18#include <bsp/irq-generic.h>
    1819#include <rtems/bspIo.h>
    1920#include <s3c24xx.h>
     
    2223 * External Prototypes
    2324 */
    24 extern void rtems_irq_mngt_init(void);
    2525extern void rtems_exception_init_mngt(void);
    2626
     
    9595   * Init rtems interrupt management
    9696   */
    97   rtems_irq_mngt_init();
     97  if (bsp_interrupt_initialize() != RTEMS_SUCCESSFUL) {
     98    _CPU_Fatal_halt(0xe);
     99  }
    98100}
    99101
Note: See TracChangeset for help on using the changeset viewer.