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

A chunk of memory that has been freed and is available for allocation. A node in a linked list. 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.
 
struct FreeChunk * next
 Pointer to the next free chunk in the list (not sequential in memory)
 

Detailed Description

A chunk of memory that has been freed and is available for allocation. A node in a linked list.

Definition at line 71 of file virtual.h.

Member Data Documentation

◆ next

struct FreeChunk* MaxOS::memory::FreeChunk::next

Pointer to the next free chunk in the list (not sequential in memory)

Definition at line 75 of file virtual.h.

◆ size

size_t MaxOS::memory::FreeChunk::size

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

Definition at line 74 of file virtual.h.

◆ start_address

uintptr_t MaxOS::memory::FreeChunk::start_address

The first virtual address that this chunk covers.

Definition at line 73 of file virtual.h.

Referenced by MaxOS::memory::VirtualMemoryManager::allocate().


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