summaryrefslogtreecommitdiffstats
path: root/sys/modules/coff
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-10-28 12:35:14 +0000
committerpeter <peter@FreeBSD.org>1995-10-28 12:35:14 +0000
commitcb39a8365e221ff2749620b51e86782d346a1407 (patch)
tree82d972add7e7b42b080d221c860f2d3f1e511a97 /sys/modules/coff
parent466353d34a79d4d0e9ee249600e9424f3bc90d9f (diff)
downloadFreeBSD-src-cb39a8365e221ff2749620b51e86782d346a1407.zip
FreeBSD-src-cb39a8365e221ff2749620b51e86782d346a1407.tar.gz
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.
Diffstat (limited to 'sys/modules/coff')
-rw-r--r--sys/modules/coff/coff.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/modules/coff/coff.c b/sys/modules/coff/coff.c
index 6a3bf9b..9dd7117 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);
}
OpenPOWER on IntegriCloud