diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-11-20 18:26:29 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-11-20 18:26:29 +0100 |
commit | bba9c619c79175b58359116b52a889e30a632d07 (patch) | |
tree | 6da3898d50880e96f2afa5d5139bd16263fccf42 /pcilib/memcpy.h | |
parent | fe5bca8604e8c381d3fe2cce3073dd6602d016d1 (diff) | |
download | pcitool-bba9c619c79175b58359116b52a889e30a632d07.tar.gz pcitool-bba9c619c79175b58359116b52a889e30a632d07.tar.bz2 pcitool-bba9c619c79175b58359116b52a889e30a632d07.tar.xz pcitool-bba9c619c79175b58359116b52a889e30a632d07.zip |
64-bit access to BAR memory
Diffstat (limited to 'pcilib/memcpy.h')
-rw-r--r-- | pcilib/memcpy.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pcilib/memcpy.h b/pcilib/memcpy.h index 3ac2115..dbfae36 100644 --- a/pcilib/memcpy.h +++ b/pcilib/memcpy.h @@ -5,8 +5,6 @@ #include <stdint.h> -#define pcilib_memcpy pcilib_memcpy32 - #ifdef __cplusplus extern "C" { #endif @@ -14,6 +12,7 @@ extern "C" { 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); +void *pcilib_memcpy(void * dst, void const * src, uint8_t access, size_t n); #ifdef __cplusplus } |