summaryrefslogtreecommitdiffstats
path: root/kmem.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2012-11-12 17:11:05 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2012-11-12 17:11:05 +0100
commit273c238f85be99e7ac01a05cfdd6d3176ed0e7ad (patch)
treef56d95b4c5b00e0a88bd07b22a4195cf4d898fe4 /kmem.h
parent595066585f3100babefab816d8460bde1edcf260 (diff)
downloadipecamera-273c238f85be99e7ac01a05cfdd6d3176ed0e7ad.tar.gz
ipecamera-273c238f85be99e7ac01a05cfdd6d3176ed0e7ad.tar.bz2
ipecamera-273c238f85be99e7ac01a05cfdd6d3176ed0e7ad.tar.xz
ipecamera-273c238f85be99e7ac01a05cfdd6d3176ed0e7ad.zip
Kernel memory allocation
Diffstat (limited to 'kmem.h')
-rw-r--r--kmem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kmem.h b/kmem.h
index ef65f64..c093389 100644
--- a/kmem.h
+++ b/kmem.h
@@ -66,8 +66,10 @@ void pcilib_free_kernel_memory(pcilib_t *ctx, pcilib_kmem_handle_t *k, pcilib_km
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);
+uintptr_t pcilib_kmem_get_ba(pcilib_t *ctx, pcilib_kmem_handle_t *k);
void *pcilib_kmem_get_block_ua(pcilib_t *ctx, pcilib_kmem_handle_t *k, size_t block);
uintptr_t pcilib_kmem_get_block_pa(pcilib_t *ctx, pcilib_kmem_handle_t *k, size_t block);
+uintptr_t pcilib_kmem_get_block_ba(pcilib_t *ctx, pcilib_kmem_handle_t *k, size_t block);
size_t pcilib_kmem_get_block_size(pcilib_t *ctx, pcilib_kmem_handle_t *k, size_t block);
pcilib_kmem_reuse_state_t pcilib_kmem_is_reused(pcilib_t *ctx, pcilib_kmem_handle_t *k);