Function axalloc::global_add_memory
source · pub fn global_add_memory(start_vaddr: usize, size: usize) -> AllocResult
Expand description
Add the given memory region to the global allocator.
Users should ensure that the region is valid and not being used by others, so that the allocated memory is also valid.
It’s similar to global_init
, but can be called multiple times.