-/* $OpenBSD: db_machdep.c,v 1.8 1997/01/16 04:04:16 kstailey Exp $ */
+/* $OpenBSD: db_machdep.c,v 1.9 1997/01/16 08:08:39 kstailey Exp $ */
/* $NetBSD: db_machdep.c,v 1.8 1996/11/20 18:57:27 gwr Exp $ */
/*-
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <sys/proc.h>
#include <vm/vm.h>
* Machine-specific ddb commands for the sun3:
* abort: Drop into monitor via abort (allows continue)
* halt: Exit to monitor as in halt(8)
- * reboot: Reboot the machine as in reboot(8)
+ * reboot: Reboot the machine as in reboot(8) XXX obsolete, use "boot" cmd
* pgmap: Given addr, Print addr, segmap, pagemap, pte
*/
char * modif;
{
+#if 0 /* XXX */
sun3_mon_reboot("");
+#else
+ db_printf("`machine reboot' command is obsolete, use `boot' command\n");
+#endif
}
struct db_command db_machine_cmds[] = {
-/* $OpenBSD: machdep.c,v 1.12 1997/01/16 04:22:49 kstailey Exp $ */
+/* $OpenBSD: machdep.c,v 1.13 1997/01/16 08:08:40 kstailey Exp $ */
/* $NetBSD: machdep.c,v 1.77 1996/10/13 03:47:51 christos Exp $ */
/*
*/
if ((howto & RB_TIMEBAD) == 0) {
resettodr();
+ } else {
+ printf("WARNING: not updating battery clock\n");
+ }
}
/* Disable interrupts. */
-/* $OpenBSD: sun3_startup.c,v 1.8 1997/01/16 04:04:33 kstailey Exp $ */
+/* $OpenBSD: sun3_startup.c,v 1.9 1997/01/16 08:08:41 kstailey Exp $ */
/* $NetBSD: sun3_startup.c,v 1.55 1996/11/20 18:57:38 gwr Exp $ */
/*-
*/
avail_start = virtual_avail - KERNBASE;
if (romp->romvecVersion < 1) {
- mon_printf("Warning: ancient PROM version=%d\n",
+ mon_printf("WARNING: ancient PROM version=%d\n",
romp->romvecVersion);
/* Guess that PROM version 0.X used two pages. */
avail_end = *romp->memorySize - (2*NBPG);