summaryrefslogtreecommitdiffstats
path: root/pcilib/pcipywrap.i
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/pcipywrap.i')
-rw-r--r--pcilib/pcipywrap.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/pcilib/pcipywrap.i b/pcilib/pcipywrap.i
new file mode 100644
index 0000000..fc7f4ef
--- /dev/null
+++ b/pcilib/pcipywrap.i
@@ -0,0 +1,6 @@
+%module pcipywrap
+/*extern void* __ctx;*/
+extern void __initCtx(void* ctx);
+extern void __createCtxInstance(const char *fpga_device, const char *model);
+extern int read_register(const char *bank, const char *regname, void *value);
+extern int ReadRegister(const char *reg);