diff options
author | Peter Wemm <peter@FreeBSD.org> | 1995-10-28 12:35:14 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1995-10-28 12:35:14 +0000 |
commit | 8e6b01171e30297084bb0b4457c4183c2746aacc (patch) | |
tree | 82d972add7e7b42b080d221c860f2d3f1e511a97 /sys/modules/coff | |
parent | 62c10d2dcb796989ce9cd789eb969678dcfe68fa (diff) | |
download | src-8e6b01171e30297084bb0b4457c4183c2746aacc.tar.gz src-8e6b01171e30297084bb0b4457c4183c2746aacc.zip |
Do a pass over the broken LKM's and update them to use the "new"
convention of having their entry point named "<modname>_mod"".
Symorder is enforcing this when the current bsd.kmod.mk is installed.
I've not tested all these, but at least they all compile now.
Reattach them to the makefile.
Note that the change that I made to symorder needs to be compiled and
installed before any LKM's will work - the last version was corrupting
the relocation tables. A "make world" will to this, but if you
manually run a make on the lkm's you'll need to take care of it by
hand.
Notes
Notes:
svn path=/head/; revision=11857
Diffstat (limited to 'sys/modules/coff')
-rw-r--r-- | sys/modules/coff/coff.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/modules/coff/coff.c b/sys/modules/coff/coff.c index 6a3bf9b7caa5..9dd711760619 100644 --- a/sys/modules/coff/coff.c +++ b/sys/modules/coff/coff.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: coff.c,v 1.1 1994/10/14 08:46:12 sos Exp $ + * $Id: coff.c,v 1.2 1995/05/30 06:06:00 rgrimes Exp $ */ #include <sys/param.h> @@ -40,19 +40,19 @@ extern const struct execsw coff_execsw; MOD_EXEC("ibcs2_coff_mod", -1, (struct execsw*)&coff_execsw) -coff_load(struct lkm_table *lkmtp, int cmd) +ibcs2_coff_load(struct lkm_table *lkmtp, int cmd) { uprintf("coff loader installed\n"); return 0; } -coff_unload(struct lkm_table *lkmtp, int cmd) +ibcs2_coff_unload(struct lkm_table *lkmtp, int cmd) { uprintf("coff loader removed\n"); return 0; } -coff_init(struct lkm_table *lkmtp, int cmd, int ver) +ibcs2_coff_mod(struct lkm_table *lkmtp, int cmd, int ver) { - DISPATCH(lkmtp, cmd, ver, coff_load, coff_unload, nosys); + DISPATCH(lkmtp, cmd, ver, ibcs2_coff_load, ibcs2_coff_unload, nosys); } |