From owner-cvs-all Sat May 8 12:13:46 1999 Delivered-To: cvs-all@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 1C82F15356; Sat, 8 May 1999 12:13:40 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id UAA74479; Sat, 8 May 1999 20:14:01 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Sat, 8 May 1999 20:14:01 +0100 (BST) From: Doug Rabson To: Mike Smith Cc: Peter Wemm , 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: <199905081827.LAA01036@dingo.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Sat, 8 May 1999, Mike Smith wrote: > > 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). Excellent. I'm glad Peter is starting on this. I would like to try and get some time at Usenix to talk this through in realtime. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message