From 06b3e35cc964d4735bd62d293b9d51f689545f97 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 17 Jul 2011 14:22:32 +0200 Subject: Handle correctly reference counting in the driver --- driver/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'driver/common.h') diff --git a/driver/common.h b/driver/common.h index b79d5ec..5787618 100644 --- a/driver/common.h +++ b/driver/common.h @@ -7,7 +7,7 @@ /* 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) */ +#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 */ -- cgit v1.2.3