From owner-cvs-src@FreeBSD.ORG Mon Aug 2 15:18:07 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 6709A16A4CE; Mon, 2 Aug 2004 15:18:07 +0000 (GMT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 988E243D62; Mon, 2 Aug 2004 15:18:05 +0000 (GMT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 87C46530F; Mon, 2 Aug 2004 17:18:04 +0200 (CEST) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 960A3530E; Mon, 2 Aug 2004 17:17:57 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 2602) id 6E924B872; Mon, 2 Aug 2004 17:17:57 +0200 (CEST) To: Mark Murray References: <200408011140.i71BesOt070889@repoman.freebsd.org> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Mon, 02 Aug 2004 17:17:57 +0200 In-Reply-To: <200408011140.i71BesOt070889@repoman.freebsd.org> (Mark Murray's message of "Sun, 1 Aug 2004 11:40:54 +0000 (UTC)") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@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 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 15:18:07 -0000 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. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no