L4Re - L4 Runtime Environment
|
Functions | |
int | L4Re::Util::kumem_alloc (l4_addr_t *mem, unsigned pages_order, L4::Cap< L4::Task > task=L4Re::Env::env() ->task(), L4::Cap< L4Re::Rm > rm=L4Re::Env::env() ->rm()) throw () |
Allocate state area. More... | |
int L4Re::Util::kumem_alloc | ( | l4_addr_t * | mem, |
unsigned | pages_order, | ||
L4::Cap< L4::Task > | task = L4Re::Env::env() ->task() , |
||
L4::Cap< L4Re::Rm > | rm = L4Re::Env::env() ->rm() |
||
) | |||
throw | ( | ||
) |
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 |