Source-Changes-HG archive

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

[src/sommerfeld_i386mp_1]: src/sys/arch/i386/i386 printf cleanups



details:   https://anonhg.NetBSD.org/src/rev/cc4544b0688a
branches:  sommerfeld_i386mp_1
changeset: 482261:cc4544b0688a
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Fri Aug 18 13:29:40 2000 +0000

description:
printf cleanups

diffstat:

 sys/arch/i386/i386/cpu.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (38 lines):

diff -r eea9d29ebdd7 -r cc4544b0688a sys/arch/i386/i386/cpu.c
--- a/sys/arch/i386/i386/cpu.c  Fri Aug 18 13:28:27 2000 +0000
+++ b/sys/arch/i386/i386/cpu.c  Fri Aug 18 13:29:40 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.1.2.10 2000/08/18 03:33:46 sommerfeld Exp $ */
+/* $NetBSD: cpu.c,v 1.1.2.11 2000/08/18 13:29:40 sommerfeld Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -353,15 +353,12 @@
        struct pmap *kpm = pmap_kernel();
        extern u_int32_t mp_pdirpa;
 
-       printf("%s: starting\n", ci->ci_dev.dv_xname);
-
        mp_pdirpa = kpm->pm_pdirpa; /* XXX move elsewhere, not per CPU. */
        
        pcb = ci->ci_idle_pcb;
 
-       printf("%s: init idle stack ptr is 0x%x\n", ci->ci_dev.dv_xname,
-           pcb->pcb_esp);
-       
+       printf("%s: starting\n", ci->ci_dev.dv_xname);
+
        CPU_STARTUP(ci);
 
        /*
@@ -372,7 +369,10 @@
        }
        if (! (ci->ci_flags & CPUF_RUNNING)) {
                printf("cpu failed to become ready\n");
+#if defined(MPDEBUG) && defined(DDB)
+               printf("dropping into debugger; continue from here to resume boot\n");
                Debugger();
+#endif
        }
 
        CPU_START_CLEANUP(ci);



Home | Main Index | Thread Index | Old Index