Date: Wed, 29 Mar 2006 23:09:15 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 94275 for review Message-ID: <200603292309.k2TN9FZk080072@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=94275 Change 94275 by jhb@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603292309.k2TN9FZk080072>