aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>2002-01-11 01:16:00 +0000
committerMike Smith <msmith@FreeBSD.org>2002-01-11 01:16:00 +0000
commit07af4a8e64e29219e1965630a66c7e92837d96d3 (patch)
tree907bf900d10c2dfaaef17f09eaa509eb3a39e99d
parent93f03548500fbe1dda5140d30fe8a48d4686ed70 (diff)
downloadsrc-07af4a8e64e29219e1965630a66c7e92837d96d3.tar.gz
src-07af4a8e64e29219e1965630a66c7e92837d96d3.zip
Export symbols that constitute APIs defined by these
modules. Note that in the case of 'mii' the API is not clearly defined, and the symbols exported represent a subset defined by current usage.
Notes
Notes: svn path=/head/; revision=89244
-rw-r--r--sys/modules/agp/Makefile11
-rw-r--r--sys/modules/apm/Makefile3
-rw-r--r--sys/modules/arcnet/Makefile10
-rw-r--r--sys/modules/bktr/bktr_mem/Makefile3
-rw-r--r--sys/modules/fs/pseudofs/Makefile13
-rw-r--r--sys/modules/gnufpu/Makefile2
-rw-r--r--sys/modules/libiconv/Makefile6
-rw-r--r--sys/modules/libmchain/Makefile36
-rw-r--r--sys/modules/lomac/plm/Makefile4
-rw-r--r--sys/modules/lomac/syscall_gate/Makefile3
-rw-r--r--sys/modules/mii/Makefile6
-rw-r--r--sys/modules/ppbus/Makefile12
-rw-r--r--sys/modules/scsi_low/Makefile20
-rw-r--r--sys/modules/sppp/Makefile9
-rw-r--r--sys/modules/streams/Makefile4
15 files changed, 142 insertions, 0 deletions
diff --git a/sys/modules/agp/Makefile b/sys/modules/agp/Makefile
index 625d4d9d30ff..9989dfbcba8d 100644
--- a/sys/modules/agp/Makefile
+++ b/sys/modules/agp/Makefile
@@ -9,4 +9,15 @@ SRCS+= device_if.h bus_if.h agp_if.h pci_if.h
SRCS+= opt_bdg.h opt_bus.h opt_pci.h
MFILES= kern/device_if.m kern/bus_if.m pci/agp_if.m dev/pci/pci_if.m
+EXPORT_SYMS= agp_find_device \
+ agp_state \
+ agp_acquire \
+ agp_release \
+ agp_enable \
+ agp_alloc_memory \
+ agp_free_memory \
+ agp_bind_memory \
+ agp_unbind_memory \
+ agp_memory_info
+
.include <bsd.kmod.mk>
diff --git a/sys/modules/apm/Makefile b/sys/modules/apm/Makefile
index d13f94a802ce..a92abc77dd85 100644
--- a/sys/modules/apm/Makefile
+++ b/sys/modules/apm/Makefile
@@ -12,4 +12,7 @@ SRCS= apm.c apm.h \
device_if.h bus_if.h
NOMAN=
+EXPORT_SYMS= apm_display \
+ apm_softc
+
.include <bsd.kmod.mk>
diff --git a/sys/modules/arcnet/Makefile b/sys/modules/arcnet/Makefile
index a88ae654534b..9132566f077d 100644
--- a/sys/modules/arcnet/Makefile
+++ b/sys/modules/arcnet/Makefile
@@ -6,6 +6,16 @@ KMOD= arcnet
SRCS= if_arcsubr.c
SRCS+= opt_inet.h opt_inet6.h
+EXPORT_SYMS= arc_frag_init \
+ arc_frag_next \
+ arc_ifattach \
+ arc_ifdetach \
+ arc_input \
+ arc_ioctl \
+ arc_isphds \
+ arc_output \
+ arc_storelladdr
+
opt_inet.h opt_inet6.h:
echo "#define INET 1" > ${.TARGET}
diff --git a/sys/modules/bktr/bktr_mem/Makefile b/sys/modules/bktr/bktr_mem/Makefile
index f62d9459be65..5e9f6b5f7a22 100644
--- a/sys/modules/bktr/bktr_mem/Makefile
+++ b/sys/modules/bktr/bktr_mem/Makefile
@@ -6,5 +6,8 @@ MAINTAINER= roger@freebsd.org
KMOD= bktr_mem
SRCS= bktr_mem.c
+EXPORT_SYMS= bktr_has_stored_addresses \
+ bktr_store_address \
+ bktr_retrieve_address
.include <bsd.kmod.mk>
diff --git a/sys/modules/fs/pseudofs/Makefile b/sys/modules/fs/pseudofs/Makefile
index e2775d0419a2..906014f3ad92 100644
--- a/sys/modules/fs/pseudofs/Makefile
+++ b/sys/modules/fs/pseudofs/Makefile
@@ -9,4 +9,17 @@ SRCS= vnode_if.h \
pseudofs_vncache.c \
pseudofs_vnops.c
+EXPORT_SYMS= pfs_mount \
+ pfs_unmount \
+ pfs_root \
+ pfs_statfs \
+ pfs_init \
+ pfs_uninit \
+ pfs_create_dir \
+ pfs_create_file \
+ pfs_create_link \
+ pfs_disable \
+ pfs_enable \
+ pfs_destroy
+
.include <bsd.kmod.mk>
diff --git a/sys/modules/gnufpu/Makefile b/sys/modules/gnufpu/Makefile
index 84a801d76598..858c7d2992f8 100644
--- a/sys/modules/gnufpu/Makefile
+++ b/sys/modules/gnufpu/Makefile
@@ -10,6 +10,8 @@ SRCS= div_small.s errors.c fpu_arith.c fpu_aux.c fpu_entry.c fpu_etc.c \
reg_ld_str.c reg_u_mul.s reg_u_sub.s wm_shrx.s wm_sqrt.s
NOMAN=
+EXPORT_SYMS= math_emulate
+
.s.o:
${CC} -x assembler-with-cpp -DLOCORE ${CFLAGS} -c \
${.IMPSRC} -o ${.TARGET}
diff --git a/sys/modules/libiconv/Makefile b/sys/modules/libiconv/Makefile
index 0bd7145560d8..2fb25d2e3c17 100644
--- a/sys/modules/libiconv/Makefile
+++ b/sys/modules/libiconv/Makefile
@@ -9,4 +9,10 @@ SRCS+= iconv_converter_if.c iconv_converter_if.h
MFILES= libkern/iconv_converter_if.m
NOMAN= true
+EXPORT_SYMS= iconv_open \
+ iconv_close \
+ iconv_conv \
+ iconv_convstr \
+ iconv_convmem
+
.include <bsd.kmod.mk>
diff --git a/sys/modules/libmchain/Makefile b/sys/modules/libmchain/Makefile
index 39cfeb042767..d810953038d2 100644
--- a/sys/modules/libmchain/Makefile
+++ b/sys/modules/libmchain/Makefile
@@ -5,4 +5,40 @@
KMOD= libmchain
SRCS= subr_mchain.c
+EXPORT_SYMS= m_fixhdr \
+ mb_init \
+ mb_initm \
+ mb_done \
+ mb_detach \
+ mb_fixhdr \
+ mb_reserve \
+ mb_put_uint8 \
+ mb_put_uint16be \
+ mb_put_uint16le \
+ mb_put_uint32be \
+ mb_put_uint32le \
+ mb_put_int64be \
+ mb_put_int64le \
+ mb_put_mem \
+ mb_put_mbuf \
+ mb_put_uio \
+ md_init \
+ md_initm \
+ md_done \
+ md_append_record \
+ md_next_record \
+ md_get_uint8 \
+ md_get_uint16 \
+ md_get_uint16le \
+ md_get_uint16be \
+ md_get_uint32 \
+ md_get_uint32be \
+ md_get_uint32le \
+ md_get_int64 \
+ md_get_int64be \
+ md_get_int64le \
+ md_get_mem \
+ md_get_mbuf \
+ md_get_uio \
+
.include <bsd.kmod.mk>
diff --git a/sys/modules/lomac/plm/Makefile b/sys/modules/lomac/plm/Makefile
index a732c183ebd6..d18961763286 100644
--- a/sys/modules/lomac/plm/Makefile
+++ b/sys/modules/lomac/plm/Makefile
@@ -5,6 +5,10 @@ SRCS= vnode_if.h kernel_plm.c
NOMAN= yes
CFLAGS+= -I${.CURDIR}/../../../security/lomac
+EXPORT_SYMS= lomac_node_entry_root \
+ lomac_plm_init_lomacfs_vnode \
+ lomac_plm_initialized
+
.PATH: ${.CURDIR}/../../../security/lomac
.include "../Makefile.inc"
diff --git a/sys/modules/lomac/syscall_gate/Makefile b/sys/modules/lomac/syscall_gate/Makefile
index 54fa8d698f36..54c5d083d85f 100644
--- a/sys/modules/lomac/syscall_gate/Makefile
+++ b/sys/modules/lomac/syscall_gate/Makefile
@@ -5,6 +5,9 @@ SRCS= syscall_gate.c
NOMAN= yes
CFLAGS+= -I${.CURDIR}/../../../security/lomac
+EXPORT_SYMS= syscall_gate_register \
+ syscall_gate_deregister
+
.PATH: ${.CURDIR}/../../../security/lomac
.include "../Makefile.inc"
diff --git a/sys/modules/mii/Makefile b/sys/modules/mii/Makefile
index 45e9f40bec11..b4a30cd5ff4d 100644
--- a/sys/modules/mii/Makefile
+++ b/sys/modules/mii/Makefile
@@ -8,4 +8,10 @@ SRCS+= miibus_if.h device_if.h miibus_if.c e1000phy.c exphy.c nsphy.c
SRCS+= mlphy.c tlphy.c rlphy.c amphy.c dcphy.c pnphy.c inphy.c
SRCS+= brgphy.c xmphy.c pnaphy.c lxtphy.c qsphy.c acphy.c nsgphy.c
+EXPORT_SYMS= mii_mediachg \
+ mii_tick \
+ mii_pollstat \
+ mii_phy_probe \
+ mii_phy_reset
+
.include <bsd.kmod.mk>
diff --git a/sys/modules/ppbus/Makefile b/sys/modules/ppbus/Makefile
index 2fbc822474b7..9f62f039dae1 100644
--- a/sys/modules/ppbus/Makefile
+++ b/sys/modules/ppbus/Makefile
@@ -8,4 +8,16 @@ SRCS= bus_if.h device_if.h ppbus_if.h \
ppb_1284.c ppb_base.c ppb_msq.c ppbconf.c
NOMAN=
+EXPORT_SYMS= ppb_attach_device \
+ ppb_request_bus \
+ ppb_release_bus \
+ ppb_get_status \
+ ppb_poll_bus \
+ ppb_reset_epp_timeout \
+ ppb_ecp_sync \
+ ppb_get_epp_protocol \
+ ppb_set_mode \
+ ppb_get_mode \
+ ppb_write
+
.include <bsd.kmod.mk>
diff --git a/sys/modules/scsi_low/Makefile b/sys/modules/scsi_low/Makefile
index ba18c1d46015..d8e3cc36a7ce 100644
--- a/sys/modules/scsi_low/Makefile
+++ b/sys/modules/scsi_low/Makefile
@@ -5,4 +5,24 @@ KMOD= scsi_low
SRCS= scsi_low.c scsi_low_pisa.c
SRCS+= opt_ddb.h opt_scsi.h opt_cam.h bus_if.h device_if.h
+EXPORT_SYMS= scsi_low_attach \
+ scsi_low_dettach \
+ scsi_low_is_busy \
+ scsi_low_activate \
+ scsi_low_deactivate \
+ scsi_low_bus_idle \
+ scsi_low_arbit_fail \
+ scsi_low_arbit_win \
+ scsi_low_msgout \
+ scsi_low_msgin \
+ scsi_low_statusin \
+ scsi_low_data \
+ scsi_low_data_finish \
+ scsi_low_cmd \
+ scsi_low_reselected \
+ scsi_low_disconnected \
+ scsi_low_restart \
+ scsi_low_print \
+ scsi_low_bus_reset
+
.include <bsd.kmod.mk>
diff --git a/sys/modules/sppp/Makefile b/sys/modules/sppp/Makefile
index b8c56f653c5f..ec41649bdecc 100644
--- a/sys/modules/sppp/Makefile
+++ b/sys/modules/sppp/Makefile
@@ -7,6 +7,15 @@ SRCS= if_spppsubr.c
SRCS+= opt_inet.h opt_inet6.h opt_ipx.h
NOMAN=
+EXPORT_SYMS= sppp_attach \
+ sppp_detach \
+ sppp_input \
+ sppp_ioctl \
+ sppp_dequeue \
+ sppp_pick \
+ sppp_isempty \
+ sppp_flush
+
opt_inet.h:
echo "#define INET 1" > opt_inet.h
diff --git a/sys/modules/streams/Makefile b/sys/modules/streams/Makefile
index 9b5cd7dc7efb..be92d1a6d575 100644
--- a/sys/modules/streams/Makefile
+++ b/sys/modules/streams/Makefile
@@ -7,6 +7,10 @@ KMOD= streams
SRCS= streams.c opt_streams.h
NOMAN=
+EXPORT_SYMS= svr4_str_initialized \
+ svr4_stream_get \
+ svr4_delete_socket
+
.if defined(DEBUG)
CFLAGS+= -DDEBUG_SVR4
.endif