No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / mvme68k / stand / libbug / bugcrt.c
blob21362955774b68ffc88bc218464bce93b93d68f4
1 /* $NetBSD: bugcrt.c,v 1.4 2002/05/04 22:05:30 scw Exp $ */
3 #include <sys/types.h>
4 #include <machine/prom.h>
6 #include <lib/libsa/stand.h>
8 #include "libbug.h"
10 void
11 _bugstart(void)
13 extern int main(void);
14 struct mvmeprom_brdid *id;
17 * Be sure not to de-reference NULL
19 if (bugargs.arg_end != NULL)
20 *bugargs.arg_end = 0;
22 id = mvmeprom_getbrdid();
23 bugargs.cputyp = id->model;
24 (void)main();
25 _rtt();
26 /* NOTREACHED */