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

Type of the proxim dispatch table. More...

#include <proximus_operor.h>

Data Fields

uint16_t(*) load16 (const ProximusCfg *args)
uint32_t(*) load32 (const ProximusCfg *args)
uint64_t(*) load64 (const ProximusCfg *args)
void(*) put16 (const ProximusCfg *args)
void(*) put32 (const ProximusCfg *args)
void(*) put64 (const ProximusCfg *args)
embed_word(*) load (const ProximusCfg *args)
void(*) put (const ProximusCfg *args)
embed_word(*) al_load (const ProximusCfg *args)
void(*) al_put (const ProximusCfg *args)
uint64_t(*) al_load64 (const ProximusCfg *args)
void(*) al_put64 (const ProximusCfg *args)
void(*) read (const ProximusCfg *args)

Detailed Description

Type of the proxim dispatch table.

Note
EMBED_TABLE_LAYOUT asserts the thirteen members sit at consecutive EMBED_FUNCTION_POINTER_BYTES offsets, with nothing else.
Each member below states its own alignment requirement.

Definition at line 43 of file proximus_operor.h.

Field Documentation

◆ load16

uint16_t(*) ProximusOperorNs::load16(const ProximusCfg *args)

Reads two bytes.

Definition at line 45 of file proximus_operor.h.

◆ load32

uint32_t(*) ProximusOperorNs::load32(const ProximusCfg *args)

Reads four bytes.

Definition at line 46 of file proximus_operor.h.

◆ load64

uint64_t(*) ProximusOperorNs::load64(const ProximusCfg *args)

Reads eight bytes.

Definition at line 47 of file proximus_operor.h.

◆ put16

void(*) ProximusOperorNs::put16(const ProximusCfg *args)

Writes two bytes.

Definition at line 48 of file proximus_operor.h.

◆ put32

void(*) ProximusOperorNs::put32(const ProximusCfg *args)

Writes four bytes.

Definition at line 49 of file proximus_operor.h.

◆ put64

void(*) ProximusOperorNs::put64(const ProximusCfg *args)

Writes eight bytes.

Definition at line 50 of file proximus_operor.h.

◆ load

embed_word(*) ProximusOperorNs::load(const ProximusCfg *args)

Reads one word.

Definition at line 51 of file proximus_operor.h.

◆ put

void(*) ProximusOperorNs::put(const ProximusCfg *args)

Writes one word.

Definition at line 52 of file proximus_operor.h.

◆ al_load

embed_word(*) ProximusOperorNs::al_load(const ProximusCfg *args)

Reads one word from an aligned address.

Definition at line 53 of file proximus_operor.h.

◆ al_put

void(*) ProximusOperorNs::al_put(const ProximusCfg *args)

Writes one word to an aligned address.

Definition at line 54 of file proximus_operor.h.

◆ al_load64

uint64_t(*) ProximusOperorNs::al_load64(const ProximusCfg *args)

Reads eight bytes from an aligned address.

Definition at line 55 of file proximus_operor.h.

◆ al_put64

void(*) ProximusOperorNs::al_put64(const ProximusCfg *args)

Writes eight bytes to an aligned address.

Definition at line 56 of file proximus_operor.h.

◆ read

void(*) ProximusOperorNs::read(const ProximusCfg *args)

Copies size bytes, aligning the destination first.

Definition at line 57 of file proximus_operor.h.


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