From owner-cvs-src@FreeBSD.ORG Mon Aug 2 15:49:33 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 314B716A4CE; Mon, 2 Aug 2004 15:49:33 +0000 (GMT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id A59A743D1D; Mon, 2 Aug 2004 15:49:32 +0000 (GMT) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) i72FnH9n084644; Mon, 2 Aug 2004 16:49:17 +0100 (BST) (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)i72FnHKj084643; Mon, 2 Aug 2004 16:49:17 +0100 (BST) (envelope-from mark@grondar.org) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])i72Fc1fa026647; Mon, 2 Aug 2004 16:38:01 +0100 (BST) (envelope-from mark@grondar.org) From: Mark Murray Message-Id: <200408021538.i72Fc1fa026647@grimreaper.grondar.org> To: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) In-Reply-To: Your message of "Mon, 02 Aug 2004 17:17:57 +0200." Date: Mon, 02 Aug 2004 16:38:01 +0100 Sender: mark@grondar.org 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:49:33 -0000 =?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. M -- Mark Murray iumop ap!sdn w,I idlaH