summaryrefslogtreecommitdiffstats
path: root/pcilib/bar.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-05-05 15:27:22 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-05-05 15:27:22 +0200
commit890ba303b28be816ff00f464b6f3a6b000b5e6e2 (patch)
treedf4c72a5f1f72d37cba07b490e189d6da9b75e3e /pcilib/bar.h
parent0ccd08c98b5d41927099a552dad379221e63cd89 (diff)
downloadpcitool-890ba303b28be816ff00f464b6f3a6b000b5e6e2.tar.gz
pcitool-890ba303b28be816ff00f464b6f3a6b000b5e6e2.tar.bz2
pcitool-890ba303b28be816ff00f464b6f3a6b000b5e6e2.tar.xz
pcitool-890ba303b28be816ff00f464b6f3a6b000b5e6e2.zip
Split bar manipulation and fifo operations in stand-alone source and publish kmem and bar headers
Diffstat (limited to 'pcilib/bar.h')
-rw-r--r--pcilib/bar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pcilib/bar.h b/pcilib/bar.h
new file mode 100644
index 0000000..9680fc1
--- /dev/null
+++ b/pcilib/bar.h
@@ -0,0 +1,7 @@
+#ifndef _PCILIB_BAR_H
+#define _PCILIB_BAR_H
+
+pcilib_bar_t pcilib_detect_bar(pcilib_t *ctx, uintptr_t addr, size_t size);
+int pcilib_detect_address(pcilib_t *ctx, pcilib_bar_t *bar, uintptr_t *addr, size_t size);
+
+#endif /* _PCILIB_BAR_H */