summaryrefslogtreecommitdiffstats
path: root/driver/common.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-17 14:22:32 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-17 14:22:32 +0200
commit06b3e35cc964d4735bd62d293b9d51f689545f97 (patch)
tree6011078f428ec1b3c2506643529c3d00cfd29c28 /driver/common.h
parentec5fd54c7559392139fa704a57185f4d4244dfde (diff)
downloadipecamera-06b3e35cc964d4735bd62d293b9d51f689545f97.tar.gz
ipecamera-06b3e35cc964d4735bd62d293b9d51f689545f97.tar.bz2
ipecamera-06b3e35cc964d4735bd62d293b9d51f689545f97.tar.xz
ipecamera-06b3e35cc964d4735bd62d293b9d51f689545f97.zip
Handle correctly reference counting in the driver
Diffstat (limited to 'driver/common.h')
-rw-r--r--driver/common.h2
1 files changed, 1 insertions, 1 deletions
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 */