![]() |
Max OS 0.3
|
A span of memory in the heap, can be allocated or free. Used as a node in a doubly linked list. More...
#include <memorymanagement.h>
Public Attributes | |
| MemoryChunk * | next |
| Pointer to the chunk after this one in the list. | |
| MemoryChunk * | prev |
| Pointer to the chunk before this one in the list. | |
| bool | allocated |
| Whether this chunk is in use or can be allocated. | |
| size_t | size |
| The size of this span of memory (not including the MemoryChunk struct itself) | |
A span of memory in the heap, can be allocated or free. Used as a node in a doubly linked list.
Definition at line 24 of file memorymanagement.h.
| bool MaxOS::memory::MemoryChunk::allocated |
Whether this chunk is in use or can be allocated.
Definition at line 29 of file memorymanagement.h.
Referenced by MaxOS::memory::MemoryManager::MemoryManager().
| MemoryChunk* MaxOS::memory::MemoryChunk::next |
Pointer to the chunk after this one in the list.
Definition at line 26 of file memorymanagement.h.
Referenced by MaxOS::memory::MemoryManager::MemoryManager().
| MemoryChunk* MaxOS::memory::MemoryChunk::prev |
Pointer to the chunk before this one in the list.
Definition at line 27 of file memorymanagement.h.
Referenced by MaxOS::memory::MemoryManager::MemoryManager().
| size_t MaxOS::memory::MemoryChunk::size |
The size of this span of memory (not including the MemoryChunk struct itself)
Definition at line 30 of file memorymanagement.h.
Referenced by MaxOS::memory::MemoryManager::MemoryManager().