aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/coff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-11-14 07:35:57 +0000
committerBruce Evans <bde@FreeBSD.org>1995-11-14 07:35:57 +0000
commitb3e24f9ce91bb200d621c57bfa92eac473a435f9 (patch)
tree9c94bad3e616d0070b577e174ae969aefd06ef32 /sys/modules/coff
parenta2c9d3c2906b57db1ee27ef76d5fdf366d043196 (diff)
Notes
Diffstat (limited to 'sys/modules/coff')
-rw-r--r--sys/modules/coff/coff.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/modules/coff/coff.c b/sys/modules/coff/coff.c
index 67a4480da8c7..8a7475749ec4 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.3 1995/10/28 12:34:58 peter Exp $
+ * $Id: coff.c,v 1.4 1995/11/13 07:18:21 bde Exp $
*/
#include <sys/param.h>
@@ -38,20 +38,23 @@
extern const struct execsw coff_execsw;
-MOD_EXEC("ibcs2_coff_mod", -1, (struct execsw*)&coff_execsw)
+MOD_EXEC(ibcs2_coff, -1, (struct execsw*)&coff_execsw);
+static int
ibcs2_coff_load(struct lkm_table *lkmtp, int cmd)
{
uprintf("coff loader installed\n");
return 0;
}
+static int
ibcs2_coff_unload(struct lkm_table *lkmtp, int cmd)
{
uprintf("coff loader removed\n");
return 0;
}
+int
ibcs2_coff_mod(struct lkm_table *lkmtp, int cmd, int ver)
{
DISPATCH(lkmtp, cmd, ver, ibcs2_coff_load, ibcs2_coff_unload,