F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Svc::WasmSequencerConfig Namespace Reference

Variables

constexpr FwSizeType SPACEWASM_PAGE_SIZE = WASM_SEQ_SPACEWASM_PAGE_SIZE
 
constexpr FwSizeType SPACEWASM_MAX_PAGES = WASM_SEQ_SPACEWASM_MAX_PAGES
 
constexpr U32 MAX_BACKPATCH_ITERATIONS = 32768
 
constexpr FwSizeType LOAD_READ_CHUNK_SIZE = 512
 
constexpr FwSizeType MAX_CONCURRENT_WAIT_COMMANDS = 8
 Maximum number of concurrent WAIT commands each WasmSequencer can service. More...
 

Variable Documentation

◆ LOAD_READ_CHUNK_SIZE

constexpr FwSizeType Svc::WasmSequencerConfig::LOAD_READ_CHUNK_SIZE = 512

Buffer size to allocate for streaming a Wasm module from the filesystem to the decoder/validator. NOTE: this buffer is stack-allocated on the component task's stack for the duration of a module load so it must stay small relative to the task stack. Raising it materially (e.g. to several KiB) risks a

Definition at line 37 of file WasmSequencerConfig.hpp.

◆ MAX_BACKPATCH_ITERATIONS

constexpr U32 Svc::WasmSequencerConfig::MAX_BACKPATCH_ITERATIONS = 32768

Configures the control-flow backpatch chain length resolution limit. This is only needed to give a bound to a potentially long loop during load time. Set this to 0 to disable this upper limit. It is theoritically impossible for this If you see a ERR_POSSIBLE_BACKPATCH_CYCLE error, it is safe to increase this number. You'll only see this on massive modules (eg. Pyodide).

Definition at line 31 of file WasmSequencerConfig.hpp.

◆ MAX_CONCURRENT_WAIT_COMMANDS

constexpr FwSizeType Svc::WasmSequencerConfig::MAX_CONCURRENT_WAIT_COMMANDS = 8

Maximum number of concurrent WAIT commands each WasmSequencer can service.

Definition at line 40 of file WasmSequencerConfig.hpp.

◆ SPACEWASM_MAX_PAGES

constexpr FwSizeType Svc::WasmSequencerConfig::SPACEWASM_MAX_PAGES = WASM_SEQ_SPACEWASM_MAX_PAGES

Definition at line 23 of file WasmSequencerConfig.hpp.

◆ SPACEWASM_PAGE_SIZE

constexpr FwSizeType Svc::WasmSequencerConfig::SPACEWASM_PAGE_SIZE = WASM_SEQ_SPACEWASM_PAGE_SIZE

Definition at line 22 of file WasmSequencerConfig.hpp.