Mark3 Realtime Kernel
|
Automatic memory allocation for kernel objects. More...
Go to the source code of this file.
Classes | |
class | Mark3::AutoAlloc |
The AutoAlloc class. This class provides an object-allocation interface for both kernel objects and user-defined types. This class supplies callouts for alloc/free that use object-type metadata to determine how objects may be allocated, allowing a user to create custom dynamic memory implementations for specific object types and sizes. As a result, the user-defined allocators can avoid the kinds of memory fragmentation and exhaustion issues that occur in typical embedded systems in which a single heap is used to satisfy all allocations in the application. More... | |
Namespaces | |
Mark3 | |
Typedefs | |
using | Mark3::AutoAllocAllocator_t = void *(*)(AutoAllocType eType_, size_t sSize_) |
using | Mark3::AutoAllocFree_t = void(*)(AutoAllocType eType_, void *pvObj_) |
Automatic memory allocation for kernel objects.
Definition in file autoalloc.h.