PERFORCE change 94275 for review

John Baldwin jhb at FreeBSD.org
Wed Mar 29 23:09:16 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=94275

Change 94275 by jhb at jhb_slimer on 2006/03/29 23:08:57

	Add a module_file() function that returns the linker_file_t for a
	given module_t.

Affected files ...

.. //depot/projects/smpng/sys/kern/kern_module.c#17 edit
.. //depot/projects/smpng/sys/sys/module.h#6 edit

Differences ...

==== //depot/projects/smpng/sys/kern/kern_module.c#17 (text+ko) ====

@@ -264,6 +264,13 @@
 	mod->data = *datap;
 }
 
+linker_file_t
+module_file(module_t mod)
+{
+
+	return (mod->file);
+}
+
 /*
  * Syscalls.
  */

==== //depot/projects/smpng/sys/sys/module.h#6 (text+ko) ====

@@ -147,6 +147,7 @@
 int	module_getid(module_t);
 module_t	module_getfnext(module_t);
 void	module_setspecific(module_t, modspecific_t *);
+struct linker_file *module_file(module_t);
 
 #ifdef	MOD_DEBUG
 extern int mod_debug;


More information about the p4-projects mailing list