From 91a938a7c56ab798b0e49b73d0efc3791f267969 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Sun, 3 Oct 2010 16:02:53 +0000 Subject: 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 --- sys/conf/files.powerpc | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/conf/files.powerpc') 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 -- cgit v1.1