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

4.8
Last change on this file since d7196bf was d7196bf, checked in by Joel Sherrill <joel.sherrill@…>, on 05/04/09 at 20:06:43

2009-04-20 Kate Feng <feng1@…>

1396/bsps

  • 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.
  • network/if_1GHz/if_wm.c : fixed some bugs in the 1GHz driver.
  • irq/BSP_irq.c : added supports for shared IRQ.
  • 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()
  • Property mode set to 100644
File size: 572 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 rtemsReboot();
15
16  rtemsReboot();
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.