![]() |
L4Re Operating System Framework
Interface and Usage Documentation
|
Public API for the basic next-fit memory allocator. More...
Go to the source code of this file.
Functions | |
| void * | umalloc_area_create (size_t area_size) L4_NOTHROW |
| Create a new heap area. | |
Variables | |
| L4_BEGIN_DECLS size_t | umalloc_area_granularity |
| Heap area granularity. | |
Public API for the basic next-fit memory allocator.
The user of this allocator is required to provide the implementation of the umalloc_area_create() function and provide the umalloc_area_granularity symbol with a value.
Definition in file umalloc.h.
| void * umalloc_area_create | ( | size_t | area_size | ) |
Create a new heap area.
| area_size | Requested heap area size. Always a multiple of the heap area granularity as reported by umalloc_area_granularity(). |
References L4_END_DECLS, and L4_NOTHROW.
|
extern |
Heap area granularity.
The allocator only requests the creation of heap areas with this granularity.