Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 May 1999 11:27:12 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        Doug Rabson <dfr@nlsystems.com>, 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 
Message-ID:  <199905081827.LAA01036@dingo.cdrom.com>
In-Reply-To: Your message of "Sun, 09 May 1999 00:37:40 %2B0800." <19990508163742.91AFA1F58@spinner.netplex.com.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905081827.LAA01036>