summaryrefslogtreecommitdiffstats
path: root/pcilib/memcpy.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcilib/memcpy.h')
-rw-r--r--pcilib/memcpy.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/pcilib/memcpy.h b/pcilib/memcpy.h
new file mode 100644
index 0000000..3ac2115
--- /dev/null
+++ b/pcilib/memcpy.h
@@ -0,0 +1,22 @@
+#ifndef _PCILIB_MEMCPY_H
+#define _PCILIB_MEMCPY_H
+
+#include <stdio.h>
+#include <stdint.h>
+
+
+#define pcilib_memcpy pcilib_memcpy32
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void *pcilib_memcpy8(void * dst, void const * src, size_t len);
+void *pcilib_memcpy32(void * dst, void const * src, size_t len);
+void *pcilib_memcpy64(void * dst, void const * src, size_t len);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _PCILIB_MEMCPY_H */