diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-03-02 06:41:30 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-03-02 06:41:30 +0100 |
commit | 867bddcf7be374221a04b7ae89f93a5f5d703ee6 (patch) | |
tree | a75da5441438f10c900ea3b6b4e1d14544360a62 /driver/rdma.h | |
parent | 8933c45c177556353570f92513bb49f182ce3be8 (diff) | |
download | pcitool-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.h | 9 |
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 */ |