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

Arguments for every exter call; each reads only what it needs. More...

#include <confinium_externum.h>

Data Fields

const size_t size
const mmgr_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 pp

Detailed Description

Arguments for every exter call; each reads only what 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 pp alone.

Definition at line 43 of file confinium_externum.h.

Field Documentation

◆ size

const size_t ExternumCfg::size

Bytes to place.

Definition at line 45 of file confinium_externum.h.

◆ dma_required

const mmgr_bool ExternumCfg::dma_required

The bytes must be reachable by DMA.

Definition at line 46 of file confinium_externum.h.

◆ free_dram

const size_t ExternumCfg::free_dram

Bytes still free in internal memory.

Definition at line 47 of file confinium_externum.h.

◆ free_psram

const size_t ExternumCfg::free_psram

Bytes still free in external memory.

Definition at line 48 of file confinium_externum.h.

◆ psram_threshold

const size_t ExternumCfg::psram_threshold

Size at or above which external memory is tried first.

Definition at line 49 of file confinium_externum.h.

◆ dram_reserve

const size_t ExternumCfg::dram_reserve

Internal bytes that must remain free afterwards.

Definition at line 50 of file confinium_externum.h.

◆ pp

PingPong* const ExternumCfg::pp

Pair the pingpong entries act on [BORROWS].

Definition at line 51 of file confinium_externum.h.


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