From 5a6c8096cb51065b056c927133781c9f2db9148d Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Thu, 21 Feb 2019 14:44:59 +0100 Subject: physmem: keep physmem VA in 39-bit address space on x86_64 Some x86 CPUs have IOMMU capable dealing only with 39-bit address space This patch also adds option to specify physmem base address from startup.conf Change-Id: I9e8abd26efb60e9c4ad54c035fb1751a4a61f4dc Signed-off-by: Damjan Marion --- src/vppinfra/pmalloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vppinfra/pmalloc.h') diff --git a/src/vppinfra/pmalloc.h b/src/vppinfra/pmalloc.h index 25c46783f8c..2a3bde2acc4 100644 --- a/src/vppinfra/pmalloc.h +++ b/src/vppinfra/pmalloc.h @@ -103,7 +103,7 @@ typedef struct } clib_pmalloc_main_t; -int clib_pmalloc_init (clib_pmalloc_main_t * pm, uword size); +int clib_pmalloc_init (clib_pmalloc_main_t * pm, uword base_addr, uword size); void *clib_pmalloc_alloc_aligned_on_numa (clib_pmalloc_main_t * pm, uword size, uword align, u32 numa_node); -- cgit 1.2.3-korg