diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-14 00:29:21 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-12-14 00:29:21 +0100 |
commit | c4c9ad7708ddd3114f78c5f860ebfeb92cfb79c3 (patch) | |
tree | 19063034154415a9a0076b18d7b626dad50bc2ea /kmem.h | |
parent | a7cd579fbd12fdfc84ac5eff32dd5af093d78631 (diff) | |
download | ipecamera-c4c9ad7708ddd3114f78c5f860ebfeb92cfb79c3.tar.gz ipecamera-c4c9ad7708ddd3114f78c5f860ebfeb92cfb79c3.tar.bz2 ipecamera-c4c9ad7708ddd3114f78c5f860ebfeb92cfb79c3.tar.xz ipecamera-c4c9ad7708ddd3114f78c5f860ebfeb92cfb79c3.zip |
Synchronize kernel buffers during the read-kernel-memory and while accessing via sysfs
Diffstat (limited to 'kmem.h')
-rw-r--r-- | kmem.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ struct pcilib_kmem_list_s { pcilib_kmem_handle_t *pcilib_alloc_kernel_memory(pcilib_t *ctx, pcilib_kmem_type_t type, size_t nmemb, size_t size, size_t alignment, pcilib_kmem_use_t use, pcilib_kmem_flags_t flags); void pcilib_free_kernel_memory(pcilib_t *ctx, pcilib_kmem_handle_t *k, pcilib_kmem_flags_t flags); -//int pcilib_sync_kernel_memory(pcilib_t *ctx, pcilib_kmem_handle_t *k, pcilib_kmem_sync_direction_t dir); +//int pcilib_kmem_sync(pcilib_t *ctx, pcilib_kmem_handle_t *k, pcilib_kmem_sync_direction_t dir); int pcilib_kmem_sync_block(pcilib_t *ctx, pcilib_kmem_handle_t *k, pcilib_kmem_sync_direction_t dir, size_t block); void *pcilib_kmem_get_ua(pcilib_t *ctx, pcilib_kmem_handle_t *k); uintptr_t pcilib_kmem_get_pa(pcilib_t *ctx, pcilib_kmem_handle_t *k); |