summaryrefslogtreecommitdiffstats
path: root/sys/conf/files.powerpc
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-10-03 16:02:53 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-10-03 16:02:53 +0000
commit91a938a7c56ab798b0e49b73d0efc3791f267969 (patch)
tree5324c5eeadb4a4688f7919bb59218d875fd448ba /sys/conf/files.powerpc
parente68de2436ecf5f86bace8ec1f2e9608ee66d4796 (diff)
downloadFreeBSD-src-91a938a7c56ab798b0e49b73d0efc3791f267969.zip
FreeBSD-src-91a938a7c56ab798b0e49b73d0efc3791f267969.tar.gz
Add a memory-range interface to /dev/mem on PowerPC using PAT attributes.
Unlike actual MTRR, this only controls the mapping attributes for subsequent mmap() of /dev/mem. Nonetheless, the support is sufficiently MTRR-like that Xorg can use it, which translates into an enormous increase in graphics performance on PowerPC. MFC after: 2 weeks
Diffstat (limited to 'sys/conf/files.powerpc')
-rw-r--r--sys/conf/files.powerpc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files.powerpc b/sys/conf/files.powerpc
index 1a4a8ff..e7d1d4d 100644
--- a/sys/conf/files.powerpc
+++ b/sys/conf/files.powerpc
@@ -27,6 +27,7 @@ dev/fb/fb.c optional sc
dev/fdt/fdt_powerpc.c optional fdt
dev/hwpmc/hwpmc_powerpc.c optional hwpmc
dev/kbd/kbd.c optional sc
+dev/mem/memutil.c optional mem
dev/ofw/openfirm.c optional aim | fdt
dev/ofw/openfirmio.c optional aim | fdt
dev/ofw/ofw_bus_if.m optional aim | fdt
OpenPOWER on IntegriCloud