/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/register.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-09-10 03:08:04 UTC
  • mfrom: (277.2.17 test_xml)
  • Revision ID: csa@suren.me-20150910030804-djti3wcmk4yubhp7
Initial integration of XML support

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
 
46
46
typedef struct {
47
 
    pcilib_register_bank_t bank;
 
47
    pcilib_register_bank_t bank;                /**< Reference to bank containing the register */
 
48
    pcilib_register_value_t min, max;           /**< Minimum & maximum allowed values */
 
49
    pcilib_xml_node_t *xml;                     /**< Additional XML properties */
48
50
} pcilib_register_context_t;
49
51
 
50
52
 
52
54
extern "C" {
53
55
#endif
54
56
 
55
 
int pcilib_add_registers(pcilib_t *ctx, size_t n, const pcilib_register_description_t *registers);
 
57
int pcilib_add_registers(pcilib_t *ctx, pcilib_model_modification_flags_t flags, size_t n, const pcilib_register_description_t *registers, pcilib_register_t *ids);
56
58
 
57
59
#ifdef __cplusplus
58
60
}