diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-03-02 19:37:30 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-03-02 19:37:30 +0100 |
commit | 1120e8745ccd3e512fe2016c9e5092fcd378490a (patch) | |
tree | 0e89ac6cd82c213a78d79d10d3fecff06f21127d /driver/pcidriver.h | |
parent | 01e857cca352e73243d00b62a0c248a35cea6b71 (diff) | |
download | pcitool-1120e8745ccd3e512fe2016c9e5092fcd378490a.tar.gz pcitool-1120e8745ccd3e512fe2016c9e5092fcd378490a.tar.bz2 pcitool-1120e8745ccd3e512fe2016c9e5092fcd378490a.tar.xz pcitool-1120e8745ccd3e512fe2016c9e5092fcd378490a.zip |
Restructure driver headers
Diffstat (limited to 'driver/pcidriver.h')
-rw-r--r-- | driver/pcidriver.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/driver/pcidriver.h b/driver/pcidriver.h new file mode 100644 index 0000000..d64c80a --- /dev/null +++ b/driver/pcidriver.h @@ -0,0 +1,11 @@ +#ifndef _PCIDRIVER_H +#define _PCIDRIVER_H + +/** + * Evaluates if the supplied user-space address is actually BAR mapping. + * @param[in] address - the user-space address + * @return - the hardware address of BAR or 0 if the \p address is not BAR mapping + */ +extern unsigned long pcidriver_resolve_bar(unsigned long address); + +#endif /* _PCIDRIVER_H */
\ No newline at end of file |