summaryrefslogtreecommitdiffstats
path: root/driver/rdma.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-03-02 06:41:30 +0100
committerSuren A. Chilingaryan <csa@suren.me>2016-03-02 06:41:30 +0100
commit867bddcf7be374221a04b7ae89f93a5f5d703ee6 (patch)
treea75da5441438f10c900ea3b6b4e1d14544360a62 /driver/rdma.h
parent8933c45c177556353570f92513bb49f182ce3be8 (diff)
downloadpcitool-867bddcf7be374221a04b7ae89f93a5f5d703ee6.tar.gz
pcitool-867bddcf7be374221a04b7ae89f93a5f5d703ee6.tar.bz2
pcitool-867bddcf7be374221a04b7ae89f93a5f5d703ee6.tar.xz
pcitool-867bddcf7be374221a04b7ae89f93a5f5d703ee6.zip
Resolve user-space addresses to physical addresses in the driver
Diffstat (limited to 'driver/rdma.h')
-rw-r--r--driver/rdma.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/driver/rdma.h b/driver/rdma.h
new file mode 100644
index 0000000..4aeda78
--- /dev/null
+++ b/driver/rdma.h
@@ -0,0 +1,9 @@
+#ifndef _PCIDRIVER_RDMA_H
+#define _PCIDRIVER_RDMA_H
+
+#include <linux/mm.h>
+#include <linux/pagemap.h>
+
+extern unsigned long pcidriver_resolve_bar(unsigned long address);
+
+#endif /* _PCIDRIVER_RDMA_H */