Changeset a771462e in rtems for c/src/lib/libbsp/powerpc/ep1a


Ignore:
Timestamp:
Jan 31, 2007, 3:40:58 AM (13 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
1102f897
Parents:
a423203
Message:

2007-01-30 Till Straumann <strauman@…>

  • Makefile.am, preinstall.am, include/bsp.h,
  • vme/vmeconfig.c (removed), vme/VMEConfig.h (added): cleaned up vme support - use files from libbsp/powerpc/shared/vme and define BSP specifica in VMEConfig.h. Use VME DMA support implemented by vmeUniverse and libbsp/powerpc/shared/vme/vme_universe_dma.c
Location:
c/src/lib/libbsp/powerpc/ep1a
Files:
1 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ep1a/ChangeLog

    ra423203 ra771462e  
     12007-01-30      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * Makefile.am, preinstall.am, include/bsp.h,
     4        * vme/vmeconfig.c (removed), vme/VMEConfig.h (added):
     5        cleaned up vme support - use files from libbsp/powerpc/shared/vme
     6        and define BSP specifica in VMEConfig.h.
     7        Use VME DMA support implemented by vmeUniverse and
     8        libbsp/powerpc/shared/vme/vme_universe_dma.c
     9
    1102006-12-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    211
  • c/src/lib/libbsp/powerpc/ep1a/Makefile.am

    ra423203 ra771462e  
    9292##
    9393include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \
    94     ../../powerpc/shared/vme/VMEConfig.h \
     94    vme/VMEConfig.h \
    9595    ../../shared/vmeUniverse/vme_am_defs.h \
    96     ../../shared/vmeUniverse/VME.h
     96    ../../shared/vmeUniverse/VME.h \
     97    ../../shared/vmeUniverse/vmeUniverseDMA.h\
     98    ../../shared/vmeUniverse/bspVmeDmaList.h\
     99    ../../shared/vmeUniverse/VMEDMA.h
    97100
    98101noinst_PROGRAMS += vme.rel
    99 vme_rel_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c vme/vmeconfig.c \
     102vme_rel_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c \
     103    ../../shared/vmeUniverse/bspVmeDmaList.c \
     104    ../shared/vme/vmeconfig.c \
     105    ../shared/vme/vme_universe_dma.c \
     106    ../shared/vme/vme_universe.c \
    100107    ../../shared/vmeUniverse/vme_am_defs.h
    101108vme_rel_CPPFLAGS = $(AM_CPPFLAGS)
  • c/src/lib/libbsp/powerpc/ep1a/include/bsp.h

    ra423203 ra771462e  
    130130 */
    131131#define BSP_OPEN_PIC_BASE_OFFSET     0x40000 
     132
     133/* BSP_PIC_DO_EOI is optionally used by the 'vmeUniverse' driver
     134 * to implement VME IRQ priorities in software.
     135 * Note that this requires support by the interrupt controller
     136 * driver (cf. libbsp/shared/powerpc/irq/openpic_i8259_irq.c)
     137 * and the BSP-specific universe initialization/configuration
     138 * (cf. libbsp/shared/powerpc/vme/VMEConfig.h vme_universe.c)
     139 *
     140 * ********* IMPORTANT NOTE ********
     141 * When deriving from this file (new BSPs)
     142 * DO NOT define "BSP_PIC_DO_EOI" if you don't know what
     143 * you are doing i.e., w/o implementing the required pieces
     144 * mentioned above.
     145 * ********* IMPORTANT NOTE ********
     146 */
    132147#define BSP_PIC_DO_EOI openpic_eoi(0)
    133148
  • c/src/lib/libbsp/powerpc/ep1a/preinstall.am

    ra423203 ra771462e  
    102102PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vmeUniverse.h
    103103
    104 $(PROJECT_INCLUDE)/bsp/VMEConfig.h: ../../powerpc/shared/vme/VMEConfig.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     104$(PROJECT_INCLUDE)/bsp/VMEConfig.h: vme/VMEConfig.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    105105        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/VMEConfig.h
    106106PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VMEConfig.h
     
    114114PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VME.h
    115115
     116$(PROJECT_INCLUDE)/bsp/vmeUniverseDMA.h: ../../shared/vmeUniverse/vmeUniverseDMA.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     117        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vmeUniverseDMA.h
     118PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vmeUniverseDMA.h
     119
     120$(PROJECT_INCLUDE)/bsp/bspVmeDmaList.h: ../../shared/vmeUniverse/bspVmeDmaList.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     121        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/bspVmeDmaList.h
     122PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/bspVmeDmaList.h
     123
     124$(PROJECT_INCLUDE)/bsp/VMEDMA.h: ../../shared/vmeUniverse/VMEDMA.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     125        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/VMEDMA.h
     126PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VMEDMA.h
     127
    116128$(PROJECT_LIB)/start.$(OBJEXT): start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
    117129        $(INSTALL_DATA) $< $(PROJECT_LIB)/start.$(OBJEXT)
Note: See TracChangeset for help on using the changeset viewer.