source: rtems/c/src/lib/libbsp/powerpc/virtex5/startup/bspclean.c @ 16a8616

4.115
Last change on this file since 16a8616 was 16a8616, checked in by Ric Claus <claus@…>, on 03/30/12 at 15:03:43

Add Virtex4 and Virtex5 BSPs

This commit covers at least PR2020, 2022, and 2023. This
patch adds all of the code for both BSPs, modifications
to libcpu/powerpc for the ppc440, and some updates to the
BSPs from follow up review and testing.

These BSPs should be good baselines for future development.
The configurations used by Ric are custom and have a non-standard
NIC. They also do not have a UART. Thus the current console
driver just prints to a RAM buffer.

The NIC and UART support are left for future work. When the UART
support is added, moving the existing "to RAM" console driver to
a shared location is likely desirable because boards with no debug
UART port are commonly deployed. This would let printk() go to RAM.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1/*  bsp_cleanup()
2 *
3 *  This routine normally is part of start.s and usually returns
4 *  control to a monitor.
5 *
6 *  INPUT:  NONE
7 *
8 *  OUTPUT: NONE
9 *
10 *  Author:     Andrew Bray <andy@i-cubed.co.uk>
11 *
12 *  COPYRIGHT (c) 1995 by i-cubed ltd.
13 *
14 *  To anyone who acknowledges that this file is provided "AS IS"
15 *  without any express or implied warranty:
16 *      permission to use, copy, modify, and distribute this file
17 *      for any purpose is hereby granted without fee, provided that
18 *      the above copyright notice and this notice appears in all
19 *      copies, and that the name of i-cubed limited not be used in
20 *      advertising or publicity pertaining to distribution of the
21 *      software without specific, written prior permission.
22 *      i-cubed limited makes no representations about the suitability
23 *      of this software for any purpose.
24 *
25 *  Derived from c/src/lib/libbsp/no_cpu/no_bsp/startup/bspclean.c:
26 *
27 *  COPYRIGHT (c) 1989-1999.
28 *  On-Line Applications Research Corporation (OAR).
29 *
30 *  The license and distribution terms for this file may be
31 *  found in the file LICENSE in this distribution or at
32 *  http://www.rtems.com/license/LICENSE.
33 */
34
35#include <rtems.h>
36#include <bsp.h>
37
38static void _noopfun(void) {}
39
40void app_bsp_cleanup(void)
41__attribute__(( weak, alias("_noopfun") ));
42
43void bsp_cleanup( void )
44{
45  app_bsp_cleanup();
46
47  /* All done.  Hang out. */
48  BSP_ask_for_reset();
49}
Note: See TracBrowser for help on using the repository browser.