Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add config option to use dlmalloc instead of mheap
[vpp.git]
/
src
/
vlib
/
main.h
diff --git
a/src/vlib/main.h
b/src/vlib/main.h
index
16e4120
..
8b6f947
100644
(file)
--- a/
src/vlib/main.h
+++ b/
src/vlib/main.h
@@
-100,8
+100,13
@@
typedef struct vlib_main_t
/* Name for e.g. syslog. */
char *name;
/* Name for e.g. syslog. */
char *name;
- /* Start
and size of CLIB
heap. */
+ /* Start
of the
heap. */
void *heap_base;
void *heap_base;
+
+ /* Truncated version, to create frame indices */
+ void *heap_aligned_base;
+
+ /* Size of the heap */
uword heap_size;
/* Pool of buffer free lists. */
uword heap_size;
/* Pool of buffer free lists. */