Capability allocator interface.
More...
#include <cap_alloc>
Inherited by L4Re::Cap_alloc_t< ALLOC >.
Capability allocator interface.
Definition at line 41 of file cap_alloc.
◆ alloc() [1/2]
template<typename T >
L4::Cap< T > L4Re::Cap_alloc::alloc |
( |
| ) |
|
|
inlinenoexcept |
Allocate a capability.
- Returns
- Capability of type T
Definition at line 64 of file cap_alloc.
References alloc().
◆ alloc() [2/2]
virtual L4::Cap< void > L4Re::Cap_alloc::alloc |
( |
| ) |
|
|
pure virtualnoexcept |
◆ free()
Free a capability.
- Parameters
-
cap | Capability to free. |
task | If set, task to unmap the capability from. |
unmap_flags | Flags for unmap, see l4_unmap_flags_t. |
◆ get_cap_alloc()
template<typename CAP_ALLOC >
The documentation for this class was generated from the following file: