blob: ff8b4db7eb7cc3fbdae5aa19919e0913f4f38dc0 (
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
|
/*
* 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.
*/
#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 ");
}
}
|