Changeset b3a78e34 in rtems


Ignore:
Timestamp:
Oct 21, 2004, 12:23:15 PM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
08f086ea
Parents:
69d90133
Message:

2004-10-21 Ralf Corsepius <ralf_corsepius@…>

  • Makefile.am: Build networking.rel conditionally. Reformat. Cosmetics.
  • wrapup/Makefile.am: Build networking.rel conditionally.
  • startup/bspstart.c: Eliminate RTEMS fixed size types.
Location:
c/src/lib/libbsp/powerpc/mvme5500
Files:
4 edited

Legend:

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

    r69d90133 rb3a78e34  
     12004-10-21      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * Makefile.am: Build networking.rel conditionally.
     4        Reformat. Cosmetics.
     5        * wrapup/Makefile.am: Build networking.rel conditionally.
     6        * startup/bspstart.c: Eliminate RTEMS fixed size types.
     7
    182004-10-21      Ralf Corsepius <ralf_corsepius@rtems.org>
    29
  • c/src/lib/libbsp/powerpc/mvme5500/Makefile.am

    r69d90133 rb3a78e34  
    104104EXTRA_PROGRAMS += irq.rel
    105105CLEANFILES += irq.rel
    106 irq_rel_SOURCES = irq/irq_init.c irq/GT64260Int.c irq/irq.c ../../powerpc/shared/irq/irq_asm.S
     106irq_rel_SOURCES = irq/irq_init.c irq/GT64260Int.c irq/irq.c \
     107    ../../powerpc/shared/irq/irq_asm.S
    107108irq_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    108109irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     
    170171
    171172##
     173if HAS_NETWORKING
    172174include_bsp_HEADERS += network/GT64260eth.h network/GT64260ethreg.h
    173175
     
    185187
    186188noinst_DATA += network$(LIB_VARIANT).rel
    187 
     189endif
    188190##
    189191include_bsp_HEADERS += vme/VME.h vme/VMEConfig.h
     
    223225mvme5500start_g___OBJEXT__LDFLAGS = $(RTEMS_RELLDFLAGS)
    224226
    225 project_lib_DATA += mvme5500start$(LIB_VARIANT).rel
     227project_lib_DATA += mvme5500start$(LIB_VARIANT).$(OBJEXT)
     228
     229all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
    226230
    227231###
     
    310314PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VPD.h
    311315
     316if HAS_NETWORKING
    312317$(PROJECT_INCLUDE)/bsp/GT64260eth.h: network/GT64260eth.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    313318        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/GT64260eth.h
     
    317322        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/GT64260ethreg.h
    318323PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/GT64260ethreg.h
     324endif
    319325
    320326$(PROJECT_INCLUDE)/bsp/VME.h: vme/VME.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     
    334340TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti$(LIB_VARIANT).$(OBJEXT)
    335341
    336 $(PROJECT_LIB)/mvme5500start$(LIB_VARIANT).rel: mvme5500start$(LIB_VARIANT).rel $(PROJECT_LIB)/$(dirstamp)
    337         $(INSTALL_DATA) $< $(PROJECT_LIB)/mvme5500start$(LIB_VARIANT).rel
    338 TMPINSTALL_FILES += $(PROJECT_LIB)/mvme5500start$(LIB_VARIANT).rel
     342$(PROJECT_LIB)/mvme5500start$(LIB_VARIANT).$(OBJEXT): mvme5500start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
     343        $(INSTALL_DATA) $< $(PROJECT_LIB)/mvme5500start$(LIB_VARIANT).$(OBJEXT)
     344TMPINSTALL_FILES += $(PROJECT_LIB)/mvme5500start$(LIB_VARIANT).$(OBJEXT)
    339345
    340346CLEANFILES += $(PREINSTALL_FILES)
  • c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c

    r69d90133 rb3a78e34  
    171171extern void bsp_postdriver_hook(void); /* see c/src/lib/libbsp/shared/bsppost.c */
    172172
    173 extern void bsp_libc_init( void *, unsigned32, int );
     173extern void bsp_libc_init( void *, uint32_t, int );
    174174
    175175/*
     
    366366
    367367 /* tag the bottom (T. Straumann 6/36/2001 <strauman@slac.stanford.edu>) */
    368   *((unsigned32 *)stack) = 0;
     368  *((uint32_t *)stack) = 0;
    369369
    370370  /* fill stack with pattern for debugging */
     
    384384
    385385  /* make sure it's properly aligned */
    386   (unsigned32)intrStack &= ~(CPU_STACK_ALIGNMENT-1);
     386  (uint32_t)intrStack &= ~(CPU_STACK_ALIGNMENT-1);
    387387
    388388  /* tag the bottom (T. Straumann 6/36/2001 <strauman@slac.stanford.edu>) */
    389   *((unsigned32 *)intrStack) = 0;
     389  *((uint32_t *)intrStack) = 0;
    390390
    391391  _write_SPRG1((unsigned int)intrStack);
  • c/src/lib/libbsp/powerpc/mvme5500/wrapup/Makefile.am

    r69d90133 rb3a78e34  
    1111    ../irq$(LIB_VARIANT).rel ../pci$(LIB_VARIANT).rel \
    1212    ../startup$(LIB_VARIANT).rel ../tod$(LIB_VARIANT).rel \
    13     ../vectors$(LIB_VARIANT).rel ../GT64260$(LIB_VARIANT).rel \
    14     ../network$(LIB_VARIANT).rel ../vme$(LIB_VARIANT).rel
     13    ../vectors$(LIB_VARIANT).rel ../GT64260$(LIB_VARIANT).rel
     14if HAS_NETWORKING
     15    ../network$(LIB_VARIANT).rel
     16endif
     17___libbsp_a_LIBADD += ../vme$(LIB_VARIANT).rel
    1518
    1619EXTRA_LIBRARIES += ../libbsp_g.a
Note: See TracChangeset for help on using the changeset viewer.