summaryrefslogtreecommitdiffstats
path: root/sys/modules/mem
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2004-08-01 11:40:54 +0000
committermarkm <markm@FreeBSD.org>2004-08-01 11:40:54 +0000
commita6c822020d368106b01f399673116ff8716835c7 (patch)
tree6d7271eea5bb8ced5f0b1cdd585641f60f5622e5 /sys/modules/mem
parentd879bd3de14d88aabd818b50f6e9341d3008ae95 (diff)
downloadFreeBSD-src-a6c822020d368106b01f399673116ff8716835c7.zip
FreeBSD-src-a6c822020d368106b01f399673116ff8716835c7.tar.gz
Break out the MI part of the /dev/[k]mem and /dev/io drivers into
their own directory and module, leaving the MD parts in the MD area (the MD parts _are_ part of the modules). /dev/mem and /dev/io are now loadable modules, thus taking us one step further towards a kernel created entirely out of modules. Of course, there is nothing preventing the kernel from having these statically compiled.
Diffstat (limited to 'sys/modules/mem')
-rw-r--r--sys/modules/mem/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/modules/mem/Makefile b/sys/modules/mem/Makefile
new file mode 100644
index 0000000..d1529a5
--- /dev/null
+++ b/sys/modules/mem/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/mem
+.PATH: ${.CURDIR}/../../${MACHINE_ARCH}/${MACHINE_ARCH}
+
+KMOD= mem
+SRCS= memdev.c mem.c
+SRCS+= bus_if.h device_if.h vnode_if.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud