Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::memory::VirtualMemoryChunk Struct Reference

A container for a region of virtual memory that has been allocated by the Virtual Memory Manager. More...

#include <virtual.h>

Public Attributes

uintptr_t start_address
 The first virtual address that this chunk covers.
 
size_t size
 The size of the chunk's memory region in bytes.
 
size_t flags
 The flags for the memory (see VirtualFlags)
 

Detailed Description

A container for a region of virtual memory that has been allocated by the Virtual Memory Manager.

Definition at line 54 of file virtual.h.

Member Data Documentation

◆ flags

size_t MaxOS::memory::VirtualMemoryChunk::flags

The flags for the memory (see VirtualFlags)

Definition at line 58 of file virtual.h.

Referenced by MaxOS::memory::VirtualMemoryManager::allocate(), and MaxOS::memory::VirtualMemoryManager::free().

◆ size

size_t MaxOS::memory::VirtualMemoryChunk::size

The size of the chunk's memory region in bytes.

Definition at line 57 of file virtual.h.

Referenced by MaxOS::memory::VirtualMemoryManager::allocate(), and MaxOS::memory::VirtualMemoryManager::free().

◆ start_address

uintptr_t MaxOS::memory::VirtualMemoryChunk::start_address

The first virtual address that this chunk covers.

Definition at line 56 of file virtual.h.

Referenced by MaxOS::memory::VirtualMemoryManager::allocate(), and MaxOS::memory::VirtualMemoryManager::free().


The documentation for this struct was generated from the following file: