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 May 8, 2009 at 6:22:51 PM

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
Line 
1/* Copyright 2003, Shuchen Kate Feng <feng1@bnl.gov>,
2 *                    NSLS,Brookhaven National Laboratory
3 */
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
13  /* Till Straumann <strauman@slac.stanford.edu> for SVGM */
14  void bsp_reset();
15
16  bsp_reset();
17#else
18  /* Kate Feng <feng1@bnl.gov> for the MVME5500 */
19  printk("\nPrinting a stack trace for your convenience :-)\n");
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.