On Monday, August 12, 2013 11:07:49 pm Mark Johnston wrote: > Author: markj > Date: Tue Aug 13 03:07:49 2013 > New Revision: 254266 > URL: http://svnweb.freebsd.org/changeset/base/254266 > > Log: > Add event handlers for module load and unload events. The load handlers are > called after the module has been loaded, and the unload handlers are called > before the module is unloaded. Moreover, the module unload handlers may > return an error to prevent the unload from proceeding. > > Reviewed by: avg > MFC after: 2 weeks
Please call this something else like kld_load or linker_file_load, etc. Modules (and in particular mod_*) mean something else (subr_module.c, DECLARE_MODULE(), etc.), and a single linker_file main contain zero or more "modules". -- John Baldwin _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"