![]() |
L4Re Operating System Framework
Interface and Usage Documentation
|
Kumem allocator utility C interface. More...
Go to the source code of this file.
Functions | |
| L4_BEGIN_DECLS int | l4re_util_kumem_alloc (l4_addr_t *mem, unsigned pages_order, l4_cap_idx_t task, l4_cap_idx_t rm) L4_NOTHROW |
| Allocate state area. | |
Kumem allocator utility C interface.
Definition in file kumem_alloc.h.
| L4_BEGIN_DECLS int l4re_util_kumem_alloc | ( | l4_addr_t * | mem, |
| unsigned | pages_order, | ||
| l4_cap_idx_t | task, | ||
| l4_cap_idx_t | rm ) |
Allocate state area.
| [out] | mem | Pointer to memory that has been allocated. |
| pages_order | Size to allocate, in log2 pages. | |
| task | Task to use for allocation. | |
| rm | Region manager to use for allocation. |
| 0 | for success |
| <0 | error code on failure |
References L4_END_DECLS, and L4_NOTHROW.