diff options
author | zilio nicolas <nicolas.zilio@kit.edu> | 2015-09-10 20:40:15 +0200 |
---|---|---|
committer | zilio nicolas <nicolas.zilio@kit.edu> | 2015-09-10 20:40:15 +0200 |
commit | 2722e76f513ba7be80e63f1f49f2095d39759f09 (patch) | |
tree | f6658894864616633564c1fb0990edad9d677da4 /pcilib/pci.h | |
parent | 9bcd0b7b98dfb10d054913dad34313391f6029f2 (diff) | |
download | pcitool-2722e76f513ba7be80e63f1f49f2095d39759f09.tar.gz pcitool-2722e76f513ba7be80e63f1f49f2095d39759f09.tar.bz2 pcitool-2722e76f513ba7be80e63f1f49f2095d39759f09.tar.xz pcitool-2722e76f513ba7be80e63f1f49f2095d39759f09.zip |
more towards views
Diffstat (limited to 'pcilib/pci.h')
-rw-r--r-- | pcilib/pci.h | 5 |
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 */ |