diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2018-11-07 16:55:18 +0100 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-11-08 16:09:21 +0000 |
commit | 6ec99c3147f3e8fd608973cd8f4a25c156bb1490 (patch) | |
tree | f3723b346b010cbc17c01c92742f74088c9b972a /src/vppinfra/pmalloc.h | |
parent | 7040075ef16ba6dd85b49905929caa4e8ac4194f (diff) |
physmem: Add physmem map support
This patch adds support for mapping the virtual address to physical
address and size of memory allocated.
Change-Id: I7659a1881308e89b215c486fecd7c973076d0773
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vppinfra/pmalloc.h')
-rw-r--r-- | src/vppinfra/pmalloc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vppinfra/pmalloc.h b/src/vppinfra/pmalloc.h index 9cd652971a6..eae317fb945 100644 --- a/src/vppinfra/pmalloc.h +++ b/src/vppinfra/pmalloc.h @@ -120,6 +120,7 @@ void *clib_pmalloc_alloc_from_arena (clib_pmalloc_main_t * pm, void *arena_va, uword size, uword align); format_function_t format_pmalloc; +format_function_t format_pmalloc_map; always_inline clib_error_t * clib_pmalloc_last_error (clib_pmalloc_main_t * pm) |