Module Name: src
Committed By: isaki
Date: Mon Apr 23 05:31:31 UTC 2012
Modified Files:
src/sys/arch/x68k/x68k: autoconf.c
Log Message:
Print a message before enabling interrupts. It's helpful to
know when a kernel was hung up. Suggested by tsutsui@,
the message is derived from arch/sun3/sun3/autoconf.c.
To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/x68k/x68k/autoconf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/x68k/x68k/autoconf.c
diff -u src/sys/arch/x68k/x68k/autoconf.c:1.65 src/sys/arch/x68k/x68k/autoconf.c:1.66
--- src/sys/arch/x68k/x68k/autoconf.c:1.65 Thu Nov 5 18:13:07 2009
+++ src/sys/arch/x68k/x68k/autoconf.c Mon Apr 23 05:31:31 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.65 2009/11/05 18:13:07 dyoung Exp $ */
+/* $NetBSD: autoconf.c,v 1.66 2012/04/23 05:31:31 isaki Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.65 2009/11/05 18:13:07 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.66 2012/04/23 05:31:31 isaki Exp $");
#include "opt_compat_netbsd.h"
#include "scsibus.h"
@@ -68,6 +68,7 @@ cpu_configure(void)
panic("no mainbus found");
/* Turn on interrupts */
+ printf("enabling interrupts\n");
(void) spl0();
}