Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x68k/x68k Print a message before enabling interrupt...



details:   https://anonhg.NetBSD.org/src/rev/fa1ac77e75ba
branches:  trunk
changeset: 778971:fa1ac77e75ba
user:      isaki <isaki%NetBSD.org@localhost>
date:      Mon Apr 23 05:31:31 2012 +0000

description:
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.

diffstat:

 sys/arch/x68k/x68k/autoconf.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 6626a6ce7047 -r fa1ac77e75ba sys/arch/x68k/x68k/autoconf.c
--- a/sys/arch/x68k/x68k/autoconf.c     Sun Apr 22 23:43:51 2012 +0000
+++ b/sys/arch/x68k/x68k/autoconf.c     Mon Apr 23 05:31:31 2012 +0000
@@ -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 @@
                panic("no mainbus found");
 
        /* Turn on interrupts */
+       printf("enabling interrupts\n");
        (void) spl0();
 }
 



Home | Main Index | Thread Index | Old Index