1.1 --- a/libmem/lib/src/memory_incremental.cc Sat May 01 23:51:28 2021 +0200
1.2 +++ b/libmem/lib/src/memory_incremental.cc Sat May 01 23:51:50 2021 +0200
1.3 @@ -23,6 +23,8 @@
1.4
1.5 #include <stdlib.h>
1.6
1.7 +
1.8 +
1.9 /* Initialise the memory pool with an optional 'limit' in pages. */
1.10
1.11 MemoryIncremental::MemoryIncremental(unsigned int limit, offset_t region_size)
1.12 @@ -87,6 +89,9 @@
1.13 return NULL;
1.14 }
1.15
1.16 +/* Allocate a new region having the default region size rounded to the nearest
1.17 + page. */
1.18 +
1.19 Region *MemoryIncremental::region()
1.20 {
1.21 return region(_region_size);