summaryrefslogtreecommitdiffstats
path: root/driver/pciDriver.h
diff options
context:
space:
mode:
authorroot <root@iss-tomyspiel-1>2011-10-21 02:37:19 +0200
committerroot <root@iss-tomyspiel-1>2011-10-21 02:37:19 +0200
commit33fb2003ef2e359f472dc153a7c2e700cdff2922 (patch)
tree102b48849f6b3a1486ac5ec5bbb305a8c8d274a1 /driver/pciDriver.h
parent64e0f2948b71d37e8cdb99693a00b3f440565953 (diff)
downloadipecamera-33fb2003ef2e359f472dc153a7c2e700cdff2922.tar.gz
ipecamera-33fb2003ef2e359f472dc153a7c2e700cdff2922.tar.bz2
ipecamera-33fb2003ef2e359f472dc153a7c2e700cdff2922.tar.xz
ipecamera-33fb2003ef2e359f472dc153a7c2e700cdff2922.zip
Support exporting data from kernel buffers
Diffstat (limited to 'driver/pciDriver.h')
-rw-r--r--driver/pciDriver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/pciDriver.h b/driver/pciDriver.h
index fc92b11..3ffe8b7 100644
--- a/driver/pciDriver.h
+++ b/driver/pciDriver.h
@@ -106,6 +106,7 @@
#define KMEM_FLAG_HW 8 /**< The buffer may be accessed by hardware, the hardware access will not occur any more if passed to _free function */
#define KMEM_FLAG_FORCE 16 /**< Force memory cleanup even if references are present */
#define KMEM_FLAG_MASS 32 /**< Apply to all buffers of selected use */
+#define KMEM_FLAG_TRY 64 /**< Do not allocate buffers, try to reuse and fail if not possible */
#define KMEM_FLAG_REUSED 1 /**< Indicates if buffer with specified use & item was already allocated and reused */
#define KMEM_FLAG_REUSED_PERSISTENT 4 /**< Indicates that reused buffer was persistent before the call */