summaryrefslogtreecommitdiffstats
path: root/pcilib/pci.h
diff options
context:
space:
mode:
authorzilio nicolas <nicolas.zilio@kit.edu>2015-08-27 11:09:21 +0200
committerzilio nicolas <nicolas.zilio@kit.edu>2015-08-27 11:09:21 +0200
commitd3678e0fcb489eba625347d1209bd8a179153ae0 (patch)
treeec3b968b1290ef2184c1eceb6ed6d9e1dbefc23d /pcilib/pci.h
parent1e5f0b6d5e02c0dc11bedefa92fc3c5bb406845a (diff)
downloadpcitool-d3678e0fcb489eba625347d1209bd8a179153ae0.tar.gz
pcitool-d3678e0fcb489eba625347d1209bd8a179153ae0.tar.bz2
pcitool-d3678e0fcb489eba625347d1209bd8a179153ae0.tar.xz
pcitool-d3678e0fcb489eba625347d1209bd8a179153ae0.zip
put xml nodes pointers for banks and registers in pcilib_t, compil ok
Diffstat (limited to 'pcilib/pci.h')
-rw-r--r--pcilib/pci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pcilib/pci.h b/pcilib/pci.h
index 340abd3..e3ed1c5 100644
--- a/pcilib/pci.h
+++ b/pcilib/pci.h
@@ -25,6 +25,7 @@
#include "model.h"
#include "export.h"
#include "locking.h"
+#include <libxml/tree.h>
typedef struct {
uint8_t max_link_speed, link_speed;
@@ -71,6 +72,8 @@ struct pcilib_s {
pcilib_register_bank_context_t *bank_ctx[PCILIB_MAX_REGISTER_BANKS]; /**< Contexts for registers banks if required by register protocol */
pcilib_dma_context_t *dma_ctx; /**< DMA context */
pcilib_context_t *event_ctx; /**< Implmentation context */
+ xmlNodePtr* banks_xml_nodes; /**<pointer to xml nodes of banks in the xml file*/
+ xmlNodePtr* registers_xml_nodes; /**< pointer to xml nodes of registers in the xml file*/
pcilib_lock_t *dma_rlock[PCILIB_MAX_DMA_ENGINES]; /**< Per-engine locks to serialize streaming and read operations */
pcilib_lock_t *dma_wlock[PCILIB_MAX_DMA_ENGINES]; /**< Per-engine locks to serialize write operations */