xref: /netbsd/sys/arch/mvme68k/stand/libbug/return.c (revision 6550d01e)
1 /*	$NetBSD: return.c,v 1.3 2008/01/12 09:54:31 tsutsui Exp $	*/
2 
3 /*
4  * bug routines -- assumes that the necessary sections of memory
5  * are preserved.
6  */
7 #include <sys/types.h>
8 #include <machine/prom.h>
9 
10 #include "stand.h"
11 #include "libbug.h"
12 
13 /* BUG - return to bug routine */
14 __dead void
15 _rtt(void)
16 {
17 
18 	MVMEPROM_CALL(MVMEPROM_EXIT);
19 	printf("%s: exit failed.  spinning...", __func__);
20 	for (;;)
21 		;
22 	/*NOTREACHED*/
23 }
24