diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-11-17 18:23:48 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-11-17 18:23:48 +0100 |
commit | 52e32b2c9f0e5ac7cfb31fd2306e6536340955e1 (patch) | |
tree | 720e376325d14f6713df434e031c503ba8f33c1e /pcilib/datacpy.h | |
parent | 2455a677448e0e0c17d7193bf405b734b758811b (diff) | |
download | pcitool-52e32b2c9f0e5ac7cfb31fd2306e6536340955e1.tar.gz pcitool-52e32b2c9f0e5ac7cfb31fd2306e6536340955e1.tar.bz2 pcitool-52e32b2c9f0e5ac7cfb31fd2306e6536340955e1.tar.xz pcitool-52e32b2c9f0e5ac7cfb31fd2306e6536340955e1.zip |
Support for 64-bit registes
Diffstat (limited to 'pcilib/datacpy.h')
-rw-r--r-- | pcilib/datacpy.h | 21 |
1 files changed, 21 insertions, 0 deletions
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 <stdio.h> +#include <stdint.h> + +#include <pcilib.h> + +#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 */ |