MMgr v1.0.0
Zero-heap memory manager in C11. One borrowed buffer, carved by asserted offset.
Loading...
Searching...
No Matches
ExternaCfg Struct Reference

Arguments for every exter call, where each call reads only the members it needs. More...

#include <memoria_externa.h>

Data Fields

const size_t size
const embed_bool dma_required
const size_t free_dram
const size_t free_psram
const size_t psram_threshold
const size_t dram_reserve
PingPong *const pingpong

Detailed Description

Arguments for every exter call, where each call reads only the members it needs.

Note
free_dram and free_psram are supplied by the caller and used as given.
place reads the six figures. The pingpong entries read pingpong alone.

Definition at line 55 of file memoria_externa.h.

Field Documentation

◆ size

const size_t ExternaCfg::size

Bytes to place.

Definition at line 57 of file memoria_externa.h.

◆ dma_required

const embed_bool ExternaCfg::dma_required

The bytes must be reachable by DMA.

Definition at line 58 of file memoria_externa.h.

◆ free_dram

const size_t ExternaCfg::free_dram

Bytes still free in internal memory.

Definition at line 59 of file memoria_externa.h.

◆ free_psram

const size_t ExternaCfg::free_psram

Bytes still free in external memory.

Definition at line 60 of file memoria_externa.h.

◆ psram_threshold

const size_t ExternaCfg::psram_threshold

Size at or above which external memory is tried first.

Definition at line 61 of file memoria_externa.h.

◆ dram_reserve

const size_t ExternaCfg::dram_reserve

Internal bytes that must remain free afterwards.

Definition at line 62 of file memoria_externa.h.

◆ pingpong

PingPong* const ExternaCfg::pingpong

Pair the pingpong entries act on [BORROWS].

Definition at line 63 of file memoria_externa.h.


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