summaryrefslogtreecommitdiffstats
path: root/driver/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/common.h')
-rw-r--r--driver/common.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/driver/common.h b/driver/common.h
index 5787618..3d26a97 100644
--- a/driver/common.h
+++ b/driver/common.h
@@ -6,13 +6,6 @@
/*************************************************************************/
/* Private data types and structures */
-#define KMEM_REF_HW 0x80000000 /**< Special reference to indicate hardware access */
-#define KMEM_REF_COUNT 0x0FFFFFFF /**< Mask of reference counter (mmap/munmap), couting in mmaped memory pages */
-
-#define KMEM_MODE_REUSABLE 0x80000000 /**< Indicates reusable buffer */
-#define KMEM_MODE_EXCLUSIVE 0x40000000 /**< Only a single process is allowed to mmap the buffer */
-#define KMEM_MODE_PERSISTENT 0x20000000 /**< Persistent mode instructs kmem_free to preserve buffer in memory */
-#define KMEM_MODE_COUNT 0x0FFFFFFF /**< Mask of reuse counter (alloc/free) */
/* Define an entry in the kmem list (this list is per device) */
/* This list keeps references to the allocated kernel buffers */