aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/physmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/physmem.h')
-rw-r--r--src/vlib/physmem.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/vlib/physmem.h b/src/vlib/physmem.h
index 1e053d65c0f..e99db7de72c 100644
--- a/src/vlib/physmem.h
+++ b/src/vlib/physmem.h
@@ -54,8 +54,9 @@ typedef struct
void *heap;
u32 flags;
-#define VLIB_PHYSMEM_F_INIT_MHEAP (1<<0)
-#define VLIB_PHYSMEM_F_FAKE (1<<2)
+#define VLIB_PHYSMEM_F_INIT_MHEAP (1 << 0)
+#define VLIB_PHYSMEM_F_HUGETLB (1 << 1)
+#define VLIB_PHYSMEM_F_SHARED (1 << 2)
u8 numa_node;
u64 *page_table;
@@ -66,6 +67,9 @@ typedef struct
typedef struct
{
+ u32 flags;
+#define VLIB_PHYSMEM_MAIN_F_HAVE_PAGEMAP (1 << 0)
+#define VLIB_PHYSMEM_MAIN_F_HAVE_IOMMU (1 << 1)
vlib_physmem_region_t *regions;
} vlib_physmem_main_t;