summaryrefslogtreecommitdiffstats
path: root/views/register.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/register.h')
-rw-r--r--views/register.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/views/register.h b/views/register.h
new file mode 100644
index 0000000..e527846
--- /dev/null
+++ b/views/register.h
@@ -0,0 +1,19 @@
+#ifndef _PCILIB_VIEW_REGISTER_H
+#define _PCILIB_VIEW_REGISTER_H
+
+#include <pcilib.h>
+#include <pcilib/view.h>
+
+typedef struct {
+ pcilib_view_description_t base;
+ const char *view;
+ const char *reg;
+ const char *bank;
+} pcilib_register_view_description_t;
+
+
+#ifndef _PCILIB_VIEW_REGISTER_C
+extern const pcilib_view_api_description_t pcilib_register_view_api;
+#endif /* _PCILIB_VIEW_REGISTER_C */
+
+#endif /* _PCILIB_VIEW_REGISTER_H */