source: rtems/c/src/lib/libbsp/powerpc/mvme5500/startup/bspclean.c @ cf599996

4.9
Last change on this file since cf599996 was cf599996, checked in by Joel Sherrill <joel.sherrill@…>, on 05/08/09 at 18:22:51

2009-05-08 Kate Feng <feng1@…>

PR1395/bsps

  • Updated the changes from RTEMS-4.8.0, which were made since Oct. 2007.
  • network/if_1GHz/if_wm.c: fixed some bugs in the 1GHz driver.
  • pci/pci_interface.c: + Enabled PCI "Read", "Read Line", and "Read Multiple" + Agressive Prefetch to improve the performance of the PCI based

applications (e.g. 1GHz NIC).

  • irq/BSP_irq.c : Replaced the irq/irq.c, and used GT_GPP_Value register to monitor the cause of the level sensitive interrupts. This unique solution solves various bugs in the 1GHz network drivers Fixed bugs in compute_pic_masks_from_prio()
  • pci/pci.c : Updated it to be consistent with the original pci.c
  • written by Eric Valette. There is no change in its function.
  • irq/irq_init.c : set defaultIrq->next_handler to be 0
  • for BSP_SHARED_HANDLER_SUPPORT.
  • Property mode set to 100644
File size: 568 bytes
RevLine 
[cf599996]1/* Copyright 2003, Shuchen Kate Feng <feng1@bnl.gov>,
2 *                    NSLS,Brookhaven National Laboratory
3 */
[7be6ad9]4#include <bsp.h>
5#include <rtems/bspIo.h>
6#include <libcpu/stackTrace.h>
7
8#define AUTO_BOOT 0
9
10void bsp_cleanup(void)
11{
12#if AUTO_BOOT
[ee732739]13  /* Till Straumann <strauman@slac.stanford.edu> for SVGM */
[83e392b4]14  void bsp_reset();
[7be6ad9]15
[83e392b4]16  bsp_reset();
[7be6ad9]17#else
[ee732739]18  /* Kate Feng <feng1@bnl.gov> for the MVME5500 */
[46a6fa91]19  printk("\nPrinting a stack trace for your convenience :-)\n");
[7be6ad9]20  CPU_print_stack();
21  printk("RTEMS terminated; Boot manually or turn on AUTO_BOOT.\n");
22#endif
23}
Note: See TracBrowser for help on using the repository browser.