L4Re - L4 Runtime Environment
+ Collaboration diagram for Kumem utiltities:

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...
 

Detailed Description

Function Documentation

◆ kumem_alloc()

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.

Return values
memPointer to memory that has been allocated.
Parameters
pages_orderSize to allocate, in log2 pages.
taskTask to use for allocation.
rmRegion manager to use for allocation.
Returns
0 for success, error code otherwise