Ignore:
Timestamp:
Jun 17, 2011, 1:24:47 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
3203e09
Parents:
feb940f7
Message:

2011-04-10 Kate Feng <feng@…>

PR 1786/bsps

  • Makefile.am: Add support for Altivec.
  • startup/bspstart.c, Makefile.am: Use shared/startup/zerobss.c instead.
  • make/custom/mvme5500.cfg: Change CPU_CFLAGS to "-mcpu=7450 -mtune=7450 -Dmpc7455"
  • irq/BSP_irq.c, pci/detect_host_bridge.c, pci.c, pcifinddevice.c: Remove warnings.
  • vme/VMEConfig.h, include/bsp.h: use VME shared IRQ handlers.
  • network/if_100MHz/GT64260eth.c: Recycle the Rx mbuf if there is any Rx error.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h

    rfeb940f7 r169480b  
    11#ifndef RTEMS_BSP_VME_CONFIG_H
    22#define RTEMS_BSP_VME_CONFIG_H
    3 /* VMEConfig.h, S. Kate Feng modified it for MVME5500 3/04  */
     3/* VMEConfig.h, S. Kate Feng modified it for MVME5500 3/04
     4 *
     5 * May 2011 : Use the VME shared IRQ handlers.
     6 *
     7 * It seems that the implementation of VMEUNIVERSE_IRQ_MGR_FLAG_PW_WORKAROUND
     8 * is not fully developed. The UNIV_REGOFF_VCSR_BS is defined for VME64
     9 * specification, which does not apply to a VME32 crate. In order to avoid
     10 * spurious VME interrupts, a better and more universal solution is
     11 * to flush the vmeUniverse FIFO by reading a register back within the
     12 * users' Interrupt Service Routine (ISR)  before returning.
     13 *
     14 * Some devices might require the ISR to issue an interrupt status READ
     15 * after its IRQ is cleared, but before its corresponding interrupt
     16 * is enabled again.
     17 *
     18 */
    419/* BSP specific address space configuration parameters */
    520
    6 /*
     21/* 
    722 * The BSP maps VME address ranges into
    823 * one BAT.
     
    1227 */
    1328#define _VME_A32_WIN0_ON_PCI            0x90000000
     29/* If _VME_CSR_ON_PCI is defined then the A32 window is reduced to accommodate
     30 * CSR for space.
     31 */
     32#define _VME_CSR_ON_PCI                 0x9e000000
    1433#define _VME_A24_ON_PCI                 0x9f000000
    1534#define _VME_A16_ON_PCI                 0x9fff0000
     
    3150#define BSP_VME_UNIVERSE_INSTALL_IRQ_MGR(err)                   \
    3251        do {                                                                                    \
    33                 err = vmeUniverseInstallIrqMgr(0,64+12,1,64+13);        \
     52          err = vmeUniverseInstallIrqMgrAlt(VMEUNIVERSE_IRQ_MGR_FLAG_SHARED,\
     53             0, BSP_GPP_VME_VLINT0, \         
     54             1, BSP_GPP_VME_VLINT1, \         
     55             2, BSP_GPP_VME_VLINT2, \       
     56             3, BSP_GPP_VME_VLINT3, \
     57             -1 /* terminate list  */);  \             
    3458        } while (0)
    3559
Note: See TracChangeset for help on using the changeset viewer.