We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 542e3f9 commit 49c1b76Copy full SHA for 49c1b76
c-lib/pycoram.h
@@ -1,3 +1,6 @@
1
+#ifndef PYCORAM_H
2
+#define PYCORAM_H
3
+
4
#define UIO_PYCORAM "/dev/uio1"
5
#define PYCORAM_SIZE (0x00001000)
6
@@ -37,3 +40,4 @@ void pycoram_close()
37
40
munmap((void*) pycoram_ptr, PYCORAM_SIZE);
38
41
}
39
42
43
+#endif
c-lib/umem.h
+#ifndef UMEM_H
+#define UMEM_H
#define UIO_MEM "/dev/uio0"
// ZedBoard (DRAM 512 MB)
#define UMEM_SIZE (0x10000000)
@@ -73,3 +76,4 @@ void umem_close()
73
76
umem_ptr = NULL;
74
77
75
78
79
0 commit comments