|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Injected dependencies + versioning for rabook_import_open. More...
#include <rabook_import.h>
Data Fields | |
| ra8_fs_mount_t * | mount |
| Mounted FAT volume (cache + source). | |
| rabook_import_compile_fn | compile |
| Compile-on-miss seam (non-NULL). | |
| void * | compile_ctx |
Cookie forwarded to compile. | |
| uint8_t * | scratch |
| Streaming buffer for the source CRC. | |
| uint32_t | scratch_cap |
Capacity of scratch in bytes. | |
| uint32_t | format_version |
| .rabook format version stamp. | |
| uint32_t | importer_version |
| Importer/compiler version stamp. | |
Injected dependencies + versioning for rabook_import_open.
Open/Closed seam: the manager owns no globals; every external collaborator (the volume, the compiler, the streaming scratch) is passed in. format_version and importer_version are the two stamps that gate reuse – pass k_book_format_version and the firmware's compiler revision so a build that changes the format or the compiler transparently re-derives stale caches.
Definition at line 162 of file rabook_import.h.
| rabook_import_compile_fn rabook_import_cfg_t::compile |
Compile-on-miss seam (non-NULL).
Definition at line 164 of file rabook_import.h.
Referenced by imp_make_cfg(), and internal_compile_and_cache().
| void* rabook_import_cfg_t::compile_ctx |
Cookie forwarded to compile.
Definition at line 165 of file rabook_import.h.
Referenced by imp_make_cfg(), and internal_compile_and_cache().
| uint32_t rabook_import_cfg_t::format_version |
.rabook format version stamp.
Definition at line 168 of file rabook_import.h.
Referenced by imp_make_cfg(), and rabook_import_open().
| uint32_t rabook_import_cfg_t::importer_version |
Importer/compiler version stamp.
Definition at line 169 of file rabook_import.h.
Referenced by imp_make_cfg(), and rabook_import_open().
| ra8_fs_mount_t* rabook_import_cfg_t::mount |
Mounted FAT volume (cache + source).
Definition at line 163 of file rabook_import.h.
Referenced by imp_make_cfg(), internal_compile_and_cache(), internal_validate_open_args(), and rabook_import_open().
| uint8_t* rabook_import_cfg_t::scratch |
Streaming buffer for the source CRC.
Definition at line 166 of file rabook_import.h.
Referenced by imp_make_cfg(), and rabook_import_open().
| uint32_t rabook_import_cfg_t::scratch_cap |
Capacity of scratch in bytes.
Definition at line 167 of file rabook_import.h.
Referenced by imp_make_cfg(), and rabook_import_open().