The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
heap_block Struct Reference

block header placed before each allocation. More...

#include </home/runner/work/ginnOS-docs/ginnOS-docs/ginnOS/src/kernel/memory/heap.h>

Data Fields

size_t size
bool free
struct heap_block * next

Detailed Description

block header placed before each allocation.

the usable memory returned to the caller begins immediately after this header. all allocations are 4-byte aligned.

Field Documentation

◆ size

size_t heap_block::size

◆ free

bool heap_block::free

◆ next

struct heap_block* heap_block::next

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