diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-10-20 00:55:56 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-10-20 00:55:56 +0000 |
commit | 6b0424fdcdec9d12943718e4542659c8bca019da (patch) | |
tree | 8204d253de6699a0584227883e7519a4d4b8f9b6 /bsd/drmP.h | |
parent | 0cf1887139eb1ce18d09f7be0567aa93d802040d (diff) |
Clean up BSD MTRR handling. The NetBSD code is untested, but it's my best
shot.
Diffstat (limited to 'bsd/drmP.h')
-rw-r--r-- | bsd/drmP.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |