diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-08-05 00:52:55 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-08-05 00:52:55 +0200 |
commit | b05d6147eb4ccc7527a806506c2154c7795487f6 (patch) | |
tree | 28bbafa26a576b1d7896b78de51ed3e5f724e535 /pcilib/pci.h | |
parent | 61068e3ba4863cf41b2399ea3057b3bb1c4a9dcf (diff) | |
parent | edd5ccf24c146915ee475bd223e2ad695520a241 (diff) | |
download | pcitool-b05d6147eb4ccc7527a806506c2154c7795487f6.tar.gz pcitool-b05d6147eb4ccc7527a806506c2154c7795487f6.tar.bz2 pcitool-b05d6147eb4ccc7527a806506c2154c7795487f6.tar.xz pcitool-b05d6147eb4ccc7527a806506c2154c7795487f6.zip |
Integrate locking subsystem from Nicolas Zilio
Diffstat (limited to 'pcilib/pci.h')
-rw-r--r-- | pcilib/pci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pcilib/pci.h b/pcilib/pci.h index d176caf..c97f753 100644 --- a/pcilib/pci.h +++ b/pcilib/pci.h @@ -24,6 +24,7 @@ #include "event.h" #include "model.h" #include "export.h" +#include "locking.h" typedef struct { uint8_t max_link_speed, link_speed; @@ -70,6 +71,8 @@ struct pcilib_s { pcilib_dma_context_t *dma_ctx; /**< DMA context */ pcilib_context_t *event_ctx; /**< Implmentation context */ + struct pcilib_locking_s locks; /**< Context of locking subsystem */ + #ifdef PCILIB_FILE_IO int file_io_handle; #endif /* PCILIB_FILE_IO */ |