diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-04-28 06:09:21 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-04-28 06:09:21 +0200 |
commit | 7356cb9627e941e66dbd90b6cc670a8427c88c5e (patch) | |
tree | 2849fd936a65b3bdfbd77968a588ac6338790022 /pcilib/register.h | |
parent | 8d3ad26d8331c43659d0d4e77e8a50fbc3cfc1e4 (diff) | |
download | pcitool-7356cb9627e941e66dbd90b6cc670a8427c88c5e.tar.gz pcitool-7356cb9627e941e66dbd90b6cc670a8427c88c5e.tar.bz2 pcitool-7356cb9627e941e66dbd90b6cc670a8427c88c5e.tar.xz pcitool-7356cb9627e941e66dbd90b6cc670a8427c88c5e.zip |
Initial support for event engines
Diffstat (limited to 'pcilib/register.h')
-rw-r--r-- | pcilib/register.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pcilib/register.h b/pcilib/register.h index 89673ec..7514943 100644 --- a/pcilib/register.h +++ b/pcilib/register.h @@ -4,6 +4,9 @@ #include <pcilib.h> #include <pcilib/bank.h> +#define PCILIB_REGISTER_NO_BITS 0 +#define PCILIB_REGISTER_ALL_BITS ((pcilib_register_value_t)-1) + typedef enum { PCILIB_REGISTER_R = 1, /**< reading from register is allowed */ PCILIB_REGISTER_W = 2, /**< normal writting to register is allowed */ |