From 890ba303b28be816ff00f464b6f3a6b000b5e6e2 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 5 May 2015 15:27:22 +0200 Subject: Split bar manipulation and fifo operations in stand-alone source and publish kmem and bar headers --- pcilib/bar.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 pcilib/bar.h (limited to 'pcilib/bar.h') 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 */ -- cgit v1.2.3