From owner-cvs-all Sat May 8 11:28:45 1999 Delivered-To: cvs-all@freebsd.org Received: from dingo.cdrom.com (castles526.castles.com [208.214.165.90]) by hub.freebsd.org (Postfix) with ESMTP id DC4F715278; Sat, 8 May 1999 11:28:42 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id LAA01036; Sat, 8 May 1999 11:27:13 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199905081827.LAA01036@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Peter Wemm Cc: Doug Rabson , cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_linker.c kern_module.c src/sys/sys module.h In-reply-to: Your message of "Sun, 09 May 1999 00:37:40 +0800." <19990508163742.91AFA1F58@spinner.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 08 May 1999 11:27:12 -0700 From: Mike Smith Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > The interesting thing is that the dependency information can be defined in > pretty much the same way that DECLARE_MODULE() works. We don't need to > worry about data structures for linking dependencies to modules etc, > because all the information goes with the .o files. If they are linked > into a monolithic kernel, it's all merged into one set. If the same binary > is made into a kld, then the data is useable by the loader etc and is easy > to get to. The dependency info can probably specify filename hints too if > required. This is prettymuch the "module metadata" stuff that I was talking about way back. If you get the infrastructure into place (particularly separating the file/module blob) I have lots of changes to the loader that will benefit from this (they should still work). -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message