From 52e32b2c9f0e5ac7cfb31fd2306e6536340955e1 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 17 Nov 2015 18:23:48 +0100 Subject: Support for 64-bit registes --- pcilib/datacpy.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pcilib/datacpy.h (limited to 'pcilib/datacpy.h') diff --git a/pcilib/datacpy.h b/pcilib/datacpy.h new file mode 100644 index 0000000..1ce2e79 --- /dev/null +++ b/pcilib/datacpy.h @@ -0,0 +1,21 @@ +#ifndef _PCILIB_DATACPY_H +#define _PCILIB_DATACPY_H + +#include +#include + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +void *pcilib_datacpy32(void * dst, void const * src, size_t n, pcilib_endianess_t endianess); +void *pcilib_datacpy64(void * dst, void const * src, size_t n, pcilib_endianess_t endianess); +void *pcilib_datacpy(void * dst, void const * src, uint8_t size, size_t n, pcilib_endianess_t endianess); + +#ifdef __cplusplus +} +#endif + +#endif /* _PCILIB_DATACPY_H */ -- cgit v1.2.3