diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-07-17 22:47:51 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-07-17 22:47:51 +0200 |
commit | ad4a1e15877aff3da889c0c433475d3173a677e4 (patch) | |
tree | 541d61b531e71662f7c91d9b56393b80bd80ae47 /driver/pciDriver.h | |
parent | 2c52de4f914806c040f62d9fc3ee88081a7aa56b (diff) | |
download | pcitool-ad4a1e15877aff3da889c0c433475d3173a677e4.tar.gz pcitool-ad4a1e15877aff3da889c0c433475d3173a677e4.tar.bz2 pcitool-ad4a1e15877aff3da889c0c433475d3173a677e4.tar.xz pcitool-ad4a1e15877aff3da889c0c433475d3173a677e4.zip |
Support forceful clean-up of kernel memory
Diffstat (limited to 'driver/pciDriver.h')
-rw-r--r-- | driver/pciDriver.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/driver/pciDriver.h b/driver/pciDriver.h index 9aa580f..fc92b11 100644 --- a/driver/pciDriver.h +++ b/driver/pciDriver.h @@ -104,13 +104,14 @@ #define KMEM_FLAG_EXCLUSIVE 2 /**< Allow only a single application accessing a specified use & item */ #define KMEM_FLAG_PERSISTENT 4 /**< Sets persistent mode */ #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_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 */ #define KMEM_FLAG_REUSED_HW 8 /**< Indicates that reused buffer had a HW reference before the call */ - /* Types */ typedef struct { unsigned long type; |