Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2003 21:02:40 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 28484 for review
Message-ID:  <200304080402.h3842eqV081949@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=28484

Change 28484 by peter@peter_daintree on 2003/04/07 21:01:44

	add some chattiness

Affected files ...

.. //depot/projects/hammer/sys/vm/vm_glue.c#9 edit
.. //depot/projects/hammer/sys/x86_64/x86_64/autoconf.c#7 edit

Differences ...

==== //depot/projects/hammer/sys/vm/vm_glue.c#9 (text+ko) ====

@@ -586,10 +586,13 @@
 	struct proc *pp;
 	int ppri;
 
+printf("made it to scheduler()!\n");
+
 	mtx_assert(&Giant, MA_OWNED | MA_NOTRECURSED);
 	/* GIANT_REQUIRED */
 
 loop:
+printf("scheduler()::loop\n\n");
 	if (vm_page_count_min()) {
 		VM_WAIT;
 		goto loop;

==== //depot/projects/hammer/sys/x86_64/x86_64/autoconf.c#7 (text+ko) ====

@@ -107,6 +107,7 @@
 configure(dummy)
 	void *dummy;
 {
+printf("configure\n");
 
 	/*
 	 * Activate the ICU's.  Note that we are explicitly at splhigh()
@@ -124,12 +125,16 @@
 	 *
 	 * This is all rather inconvenient.
 	 */
+printf("enable_intr\n");
 	enable_intr();
+printf("enable IRQ_SLAVE\n");
 	INTREN(IRQ_SLAVE);
 
+printf("add nexus\n");
 	/* nexus0 is the top of the i386 device tree */
 	device_add_child(root_bus, "nexus", 0);
 
+printf("root bus config\n");
 	/* initialize new bus architecture */
 	root_bus_configure();
 
@@ -138,15 +143,19 @@
 	 * Explicitly probe and attach ISA last.  The isa bus saves
 	 * it's device node at attach time for us here.
 	 */
-	if (isa_bus_device)
+	if (isa_bus_device) {
+printf("isa_probe_children\n");
 		isa_probe_children(isa_bus_device);
+	}
 #endif
 
+printf("spl0()\n");
 	/*
 	 * Now we're ready to handle (pending) interrupts.
 	 * XXX this is slightly misplaced.
 	 */
 	spl0();
+printf("end configure\n");
 }
 
 static void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304080402.h3842eqV081949>