ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
mdl_storage_t Struct Reference

One non-reentrant downloader filesystem dependency bundle. More...

#include <mdl_storage.h>

Collaboration diagram for mdl_storage_t:

Data Fields

const fw_fs_tfs
 Injected portable filesystem.
void * file_workspace
 Open-file backend state.
void * transaction_workspace
 Transaction backend state.
uint8_t * io_buffer
 Caller-owned stream scratch.
uint32_t file_workspace_bytes
 File workspace extent.
uint32_t transaction_workspace_bytes
 Transaction workspace extent.
uint32_t io_buffer_bytes
 Stream scratch extent.

Detailed Description

One non-reentrant downloader filesystem dependency bundle.

File and transaction storage remains owned by the composition root. The capacities and alignments are checked once by mdl_storage_init. One instance supports one operation at a time; independent workers require independent workspaces and bindings.

Definition at line 40 of file mdl_storage.h.

Field Documentation

◆ file_workspace

◆ file_workspace_bytes

◆ fs

◆ io_buffer

◆ io_buffer_bytes

◆ transaction_workspace

void* mdl_storage_t::transaction_workspace

Transaction backend state.

Definition at line 43 of file mdl_storage.h.

Referenced by internal_begin_copy(), internal_mdl_state_build_stage(), internal_mdl_state_paths(), and internal_txn_begin().

◆ transaction_workspace_bytes

uint32_t mdl_storage_t::transaction_workspace_bytes

Transaction workspace extent.

Definition at line 46 of file mdl_storage.h.

Referenced by internal_begin_copy(), internal_mdl_state_build_stage(), and internal_txn_begin().


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