summaryrefslogtreecommitdiffstats
path: root/pcilib/pci.h
diff options
context:
space:
mode:
authorzilio nicolas <nicolas.zilio@kit.edu>2015-09-04 20:31:14 +0200
committerzilio nicolas <nicolas.zilio@kit.edu>2015-09-04 20:31:14 +0200
commitea28e2990ae59e21856d9ae0311cec5b5415237b (patch)
treed4b71d8880c9d6613a512f2a950b0508f5192858 /pcilib/pci.h
parent86cca494757d4911041367c5d1d3a86395a541f5 (diff)
downloadpcitool-ea28e2990ae59e21856d9ae0311cec5b5415237b.tar.gz
pcitool-ea28e2990ae59e21856d9ae0311cec5b5415237b.tar.bz2
pcitool-ea28e2990ae59e21856d9ae0311cec5b5415237b.tar.xz
pcitool-ea28e2990ae59e21856d9ae0311cec5b5415237b.zip
end of modifications
Diffstat (limited to 'pcilib/pci.h')
-rw-r--r--pcilib/pci.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/pcilib/pci.h b/pcilib/pci.h
index e3ed1c5..40cb4bf 100644
--- a/pcilib/pci.h
+++ b/pcilib/pci.h
@@ -25,6 +25,7 @@
#include "model.h"
#include "export.h"
#include "locking.h"
+#include "xml.h"
#include <libxml/tree.h>
typedef struct {
@@ -72,8 +73,9 @@ 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*/
+ xmlNodePtr* xml_banks; /**<pointer to xml nodes of banks in the xml file*/
+ xmlNodePtr* xml_registers; /**< pointer to xml nodes of registers in the xml file*/
+ pcilib_xml_context_t* xml_context; /**< context to xml files*/
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 */