Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/macppc Enable console in initppc().



details:   https://anonhg.NetBSD.org/src/rev/e8338630611e
branches:  trunk
changeset: 495262:e8338630611e
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Tue Jul 25 05:44:27 2000 +0000

description:
Enable console in initppc().

diffstat:

 sys/arch/macppc/macppc/machdep.c |  18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)

diffs (39 lines):

diff -r c433dd537fd2 -r e8338630611e sys/arch/macppc/macppc/machdep.c
--- a/sys/arch/macppc/macppc/machdep.c  Tue Jul 25 05:41:30 2000 +0000
+++ b/sys/arch/macppc/macppc/machdep.c  Tue Jul 25 05:44:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.81 2000/07/25 05:41:30 tsubai Exp $      */
+/*     $NetBSD: machdep.c,v 1.82 2000/07/25 05:44:27 tsubai Exp $      */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -219,15 +219,6 @@
 
        curpm = curpcb->pcb_pmreal = curpcb->pcb_pm = pmap_kernel();
 
-#if 0
-       /*
-        * i386 port says, that this shouldn't be here,
-        * but I really think the console should be initialized
-        * as early as possible.
-        */
-       consinit();
-#endif
-
 #ifdef __notyet__              /* Needs some rethinking regarding real/virtual OFW */
        OF_set_callback(callback);
 #endif
@@ -295,6 +286,13 @@
        ofmsr &= ~PSL_IP;
 
        /*
+        * i386 port says, that this shouldn't be here,
+        * but I really think the console should be initialized
+        * as early as possible.
+        */
+       consinit();
+
+       /*
         * Parse arg string.
         */
 #ifdef DDB



Home | Main Index | Thread Index | Old Index