summaryrefslogtreecommitdiff
path: root/bsd-core/drmP.h
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-10-20 00:55:56 +0000
committerEric Anholt <anholt@freebsd.org>2003-10-20 00:55:56 +0000
commit6b0424fdcdec9d12943718e4542659c8bca019da (patch)
tree8204d253de6699a0584227883e7519a4d4b8f9b6 /bsd-core/drmP.h
parent0cf1887139eb1ce18d09f7be0567aa93d802040d (diff)
Clean up BSD MTRR handling. The NetBSD code is untested, but it's my best
shot.
Diffstat (limited to 'bsd-core/drmP.h')
-rw-r--r--bsd-core/drmP.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsd-core/drmP.h b/bsd-core/drmP.h
index 67915374..b2e045e6 100644
--- a/bsd-core/drmP.h
+++ b/bsd-core/drmP.h
@@ -403,6 +403,8 @@ extern void *DRM(realloc)(void *oldpt, size_t oldsize, size_t size,
extern void DRM(free)(void *pt, size_t size, int area);
extern void *DRM(ioremap)(drm_device_t *dev, drm_local_map_t *map);
extern void DRM(ioremapfree)(drm_local_map_t *map);
+extern int DRM(mtrr_add)(unsigned long offset, size_t size, int flags);
+extern int DRM(mtrr_del)(unsigned long offset, size_t size, int flags);
#if __REALLY_HAVE_AGP
extern agp_memory *DRM(alloc_agp)(int pages, u32 type);