summaryrefslogtreecommitdiffstats
path: root/pcilib/bar.h
diff options
context:
space:
mode:
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 */