summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mcf5225x/startup/bspclean.c
blob: 1e9c25267edbcbe0c91f9ee94bce0c42c7b67d73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 *  SBC5206 bsp_cleanup
 *
 *  This routine returns control from RTEMS to the monitor.
 *
 *  Author:
 *    David Fiddes, D.J@fiddes.surfaid.org
 *    http://www.calm.hw.ac.uk/davidf/coldfire/
 *
 *  COPYRIGHT (c) 1989-1998.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.com/license/LICENSE.
 * 
 *  $Id$
 */

#include <rtems.h>
#include <bsp.h>
#include <rtems/bspIo.h>

void  __attribute__((weak)) bsp_cleanup(
  uint32_t status
)
{
  printk("\nRTEMS exited!\n");
  for (;;) {
    __asm__ volatile (" nop ");
    __asm__ volatile (" nop ");
  }
}