![]() |
Max OS 0.3
|
Defines a VirtualMemoryManager class for managing virtual memory allocation and mapping to physical memory. More...
Go to the source code of this file.
Classes | |
| struct | MaxOS::memory::VirtualMemoryChunk |
| A container for a region of virtual memory that has been allocated by the Virtual Memory Manager. More... | |
| struct | MaxOS::memory::FreeChunk |
| A chunk of memory that has been freed and is available for allocation. A node in a linked list. More... | |
| struct | MaxOS::memory::VirtualMemoryRegion |
| A region of virtual memory containing multiple chunks (should fit in one page). More... | |
| class | MaxOS::memory::VirtualMemoryManager |
| Manages the virtual memory of the system and provides functions to allocate and free memory in the virtual address space. More... | |
Typedefs | |
| typedef enum MaxOS::memory::VirtualFlags | MaxOS::memory::virtual_flags_t |
| Alias for VirtualFlags enum. | |
| typedef struct MaxOS::memory::VirtualMemoryChunk | MaxOS::memory::virtual_memory_chunk_t |
| Alias for VirtualMemoryChunk struct. | |
| typedef struct MaxOS::memory::FreeChunk | MaxOS::memory::free_chunk_t |
| Alias for FreeChunk struct. | |
| typedef struct PACKED MaxOS::memory::VirtualMemoryRegion | MaxOS::memory::virtual_memory_region_t |
| Alias for VirtualMemoryRegion struct. | |
Enumerations | |
| enum | MaxOS::memory::VirtualFlags { MaxOS::memory::RESERVE = (1 << 9) , MaxOS::memory::SHARED = (1 << 10) } |
| Flags for chunks used in virtual memory allocation. More... | |
Defines a VirtualMemoryManager class for managing virtual memory allocation and mapping to physical memory.
Definition in file virtual.h.
Alias for VirtualFlags enum.
Alias for VirtualMemoryChunk struct.
Alias for VirtualMemoryRegion struct.
Flags for chunks used in virtual memory allocation.
| Enumerator | |
|---|---|
| RESERVE | Reserve the memory but do not map any physical memory to it. |
| SHARED | The memory is shared between multiple processes. |
Definition at line 31 of file virtual.h.