1 /* $NetBSD: promboot.c,v 1.2.10.1 2005/01/24 08:35:03 skrll Exp $ */
5 #include <sys/reboot.h>
7 #include <machine/mon.h>
17 char prom_bootdev
[32];
20 * Get useful info from the PROM bootparams struct, i.e.:
21 * arg[0] = sd(0,0,0)netbsd
26 prom_get_boot_info(void)
32 printf("prom_get_boot_info\n");
35 bp
= *romVectorPtr
->bootParam
;
37 /* Get device and file names. */
53 /* Get boothowto flags. */
55 if (src
&& (*src
== '-')) {
59 prom_boothow
|= RB_ASKNAME
;
62 prom_boothow
|= RB_SINGLE
;
65 prom_boothow
|= RB_KDB
;
76 printf("Debug level %d - enter c to continue...", debug
);
77 /* This will print "\nAbort at ...\n" */