From owner-cvs-src@FreeBSD.ORG Mon Aug 2 16:15:34 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E214F16A4E1; Mon, 2 Aug 2004 16:15:34 +0000 (GMT) Received: from TRANG.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E0E943D5C; Mon, 2 Aug 2004 16:15:34 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by TRANG.nuxi.com (8.12.11/8.12.11) with ESMTP id i72GFT55000462; Mon, 2 Aug 2004 09:15:30 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.13.1/8.12.11/Submit) id i72GFSa3000379; Mon, 2 Aug 2004 09:15:28 -0700 (PDT) (envelope-from obrien) Date: Mon, 2 Aug 2004 09:15:27 -0700 From: "David O'Brien" To: Mark Murray Message-ID: <20040802161527.GA96135@dragon.nuxi.com> References: <200408021538.i72Fc1fa026647@grimreaper.grondar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408021538.i72Fc1fa026647@grimreaper.grondar.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: Dag-Erling Sm?rgrav cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG cc: cvs-src@FreeBSD.ORG Subject: Re: cvs commit: src/sys/alpha/alpha mem.c src/sys/alpha/conf GENERIC src/sys/alpha/include memdev.h src/sys/amd64/amd64 io.c mem.c src/sys/amd64/conf GENERIC NOTES src/sys/amd64/include iodev.h memdev.h src/sys/conf NOTES files files.alpha files.amd64 ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@FreeBSD.ORG List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 16:15:35 -0000 On Mon, Aug 02, 2004 at 04:38:01PM +0100, Mark Murray wrote: > =?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?= writes: > > Mark Murray writes: > > > Log: > > > Break out the MI part of the /dev/[k]mem and /dev/io drivers into > > > their own directory and module, leaving the MD parts in the MD > > > area (the MD parts _are_ part of the modules). /dev/mem and /dev/io > > > are now loadable modules, thus taking us one step further towards > > > a kernel created entirely out of modules. Of course, there is nothing > > > preventing the kernel from having these statically compiled. > > > > OK, there's one problem with this commit: mem_range_AP_init() is > > defined in mem.c, but referenced in mp_machdep.c (and nowhere else). > > Therefore, you can't build an i386 or amd64 SMP kernel without 'device > > mem'. I believe that simply moving mem_range_AP_init() to a different > > file (perhaps machdep.c?) should fix this. > > Untangling this will take a while. The softc needs to move as well. Was your /dev/mem as-a-module commit tested? Since I and others can't build a kernel without "device mem" I don't see how this could be tested. -- -- David (obrien@FreeBSD.org)