diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-11-18 03:25:02 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-11-18 03:25:02 +0100 |
commit | ca7353be486a0364a3460b511291a40182f130ba (patch) | |
tree | 1505293794cbe29fdeb6341bbe699c52dd39f8aa /protocols/default.h | |
parent | ec667d49f84c45c261f050313d64f89ce88e4302 (diff) | |
download | pcitool-ca7353be486a0364a3460b511291a40182f130ba.tar.gz pcitool-ca7353be486a0364a3460b511291a40182f130ba.tar.bz2 pcitool-ca7353be486a0364a3460b511291a40182f130ba.tar.xz pcitool-ca7353be486a0364a3460b511291a40182f130ba.zip |
Provide API calls for register and bank address resolution
Diffstat (limited to 'protocols/default.h')
-rw-r--r-- | protocols/default.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/default.h b/protocols/default.h index 829b65d..74dd91c 100644 --- a/protocols/default.h +++ b/protocols/default.h @@ -5,12 +5,13 @@ #include "version.h" #include "model.h" +uintptr_t pcilib_default_resolve(pcilib_t *ctx, pcilib_register_bank_context_t *bank_ctx, pcilib_address_resolution_flags_t flags, pcilib_register_addr_t addr); int pcilib_default_read(pcilib_t *ctx, pcilib_register_bank_context_t *bank, pcilib_register_addr_t addr, pcilib_register_value_t *value); int pcilib_default_write(pcilib_t *ctx, pcilib_register_bank_context_t *bank, pcilib_register_addr_t addr, pcilib_register_value_t value); #ifdef _PCILIB_EXPORT_C const pcilib_register_protocol_api_description_t pcilib_default_protocol_api = - { PCILIB_VERSION, NULL, NULL, pcilib_default_read, pcilib_default_write }; + { PCILIB_VERSION, NULL, NULL, pcilib_default_resolve, pcilib_default_read, pcilib_default_write }; #endif /* _PCILIB_EXPORT_C */ #endif /* _PCILIB_PROTOCOL_DEFAULT_H */ |