53 public L4::Kobject_t<Mem_alloc, L4::Factory, L4RE_PROTO_MEM_ALLOC>
158 unsigned long flags = 0,
unsigned long align = 0,
171 typedef
L4::Typeid::Rpcs<info_t> Rpcs;
L4::Cap related definitions.
Interface for memory-like objects.
Memory allocation interface.
long alloc(long size, L4::Cap< Dataspace > mem, unsigned long flags=0, unsigned long align=0, l4_addr_t paddr=0) const noexcept
Allocate anonymous memory.
Mem_alloc_flags
Flags for the allocator.
@ Super_pages
Allocate super pages.
@ Fixed_paddr
Allocate at fixed physical address.
@ Continuous
Allocate physically contiguous memory.
@ Pinned
Deprecated, use L4Re::Dma_space instead.
long info(Stats &stats)
Get allocator information.
C++ interface for capabilities.
Helper class to create an L4Re interface class that is derived from a single base class.
Common factory related definitions.
unsigned int l4_size_t
Unsigned size type.
unsigned long l4_addr_t
Address type.
#define L4_EXPORT
Attribute to mark functions, variables, and data types as being exported from a library.
Interface Definition Language.
#define L4_INLINE_RPC(res, name, args, attr...)
Define an inline RPC call (type and callable).
L4 low-level kernel interface.
L4Re Protocol Constants (C version).
Statistics about memory-allocator.
l4_size_t quota
Memory quota of this allocator.
l4_size_t mem_limit
Maximum amount of memory that can be allocated by this allocator.
l4_size_t quota_used
Amount of currently used quota of this allocator.
l4_size_t mem_used
Amount of currently allocated memory.
l4_size_t mem_free
Amount of memory that is still available for allocation.