PERFORCE change 28484 for review
Peter Wemm
peter at FreeBSD.org
Mon Apr 7 21:02:42 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=28484
Change 28484 by peter at 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
More information about the p4-projects
mailing list