summaryrefslogtreecommitdiffstats
path: root/pcilib/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/pci.h')
-rw-r--r--pcilib/pci.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pcilib/pci.h b/pcilib/pci.h
index 00528e1..657c335 100644
--- a/pcilib/pci.h
+++ b/pcilib/pci.h
@@ -62,6 +62,8 @@ struct pcilib_s {
size_t num_banks, num_protocols, num_ranges; /**< Number of registered banks, protocols, and register ranges */
size_t num_engines; /**< Number of configured DMA engines */
size_t dyn_banks; /**< Number of configured dynamic banks */
+ size_t num_enum_views,alloc_enum_views; /**< Number of configured and allocated views of type enum*/
+ size_t num_formula_views,alloc_formula_views; /**< Number of configured and allocated views of type formula*/
pcilib_register_description_t *registers; /**< List of currently defined registers (from all sources) */
pcilib_register_bank_description_t banks[PCILIB_MAX_REGISTER_BANKS + 1]; /**< List of currently defined register banks (from all sources) */
@@ -81,6 +83,9 @@ struct pcilib_s {
struct pcilib_locking_s locks; /**< Context of locking subsystem */
struct pcilib_xml_s xml; /**< XML context */
+ pcilib_view_enum2_t* enum_views; /**< list of currently defined views of type enum*/
+ pcilib_view_formula_t* formula_views; /**< list of currently defined views of type formula*/
+
#ifdef PCILIB_FILE_IO
int file_io_handle;
#endif /* PCILIB_FILE_IO */