feat: brk and sbrk (mmap based)
[lunaix-os.git] / lunaix-os / includes / lunaix / mm / mmap.h
index ff1e443c9c8d5ab7178a2912bc12cbcfc9e56bff..f85302e339b8d14056b9a1b3661608c6ff933ace 100644 (file)
@@ -17,6 +17,11 @@ struct mmap_param
     u32_t type;           // region type
 };
 
+int
+mem_adjust_inplace(vm_regions_t* regions,
+                   struct mm_region* region,
+                   ptr_t newend);
+
 int
 mem_map(void** addr_out,
         struct mm_region** created,