From owner-p4-projects@FreeBSD.ORG Mon Apr 7 21:02:42 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id D144B37B401; Mon, 7 Apr 2003 21:02:41 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F90237B401 for ; Mon, 7 Apr 2003 21:02:41 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 148F943F75 for ; Mon, 7 Apr 2003 21:02:41 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3842e0U081952 for ; Mon, 7 Apr 2003 21:02:40 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3842eqV081949 for perforce@freebsd.org; Mon, 7 Apr 2003 21:02:40 -0700 (PDT) Date: Mon, 7 Apr 2003 21:02:40 -0700 (PDT) Message-Id: <200304080402.h3842eqV081949@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 28484 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 04:02:42 -0000 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