|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Injected dependencies + caller-owned buffers for cache_store_demo_run. More...
#include <cache_store_demo.h>
Data Fields | |
| struct LX_NOR_FLASH_STRUCT * | nor_flash |
| Caller-owned LevelX control block. | |
| ra8_cache_store_nor_init_fn | nor_driver_init |
| Injected physical-flash bind. | |
| ra8_cache_store_entry_t * | index |
| Caller-owned index array. | |
| uint8_t * | staging |
| Caller-owned >=1-sector scratch. | |
| uint8_t * | scratch |
| Read-back scratch (>= largest blob). | |
| uint32_t | staging_bytes |
Bytes at staging (>= sector). | |
| uint32_t | scratch_bytes |
Bytes at scratch. | |
| uint32_t | logical_sectors |
| Usable LevelX logical-sector span. | |
| uint16_t | index_cap |
| Index slots (max live entries). | |
Injected dependencies + caller-owned buffers for cache_store_demo_run.
Open/Closed seam: the demo owns no globals. The LevelX control block, the physical-flash driver bind, the store index array, the one-sector staging buffer, and a read-back scratch buffer are all passed in, so the ARM app (RAM driver over SRAM) and the host test (RAM driver on the host) drive the same core through different buffers.
Definition at line 106 of file cache_store_demo.h.
| ra8_cache_store_entry_t* cache_store_demo_cfg_t::index |
Caller-owned index array.
Definition at line 109 of file cache_store_demo.h.
Referenced by internal_demo_build_cfg(), and internal_demo_phase_remount().
| uint16_t cache_store_demo_cfg_t::index_cap |
Index slots (max live entries).
Definition at line 115 of file cache_store_demo.h.
Referenced by internal_demo_build_cfg(), and internal_demo_phase_remount().
| uint32_t cache_store_demo_cfg_t::logical_sectors |
Usable LevelX logical-sector span.
Definition at line 114 of file cache_store_demo.h.
Referenced by internal_demo_build_cfg().
| ra8_cache_store_nor_init_fn cache_store_demo_cfg_t::nor_driver_init |
Injected physical-flash bind.
Definition at line 108 of file cache_store_demo.h.
Referenced by internal_demo_build_cfg().
| struct LX_NOR_FLASH_STRUCT* cache_store_demo_cfg_t::nor_flash |
Caller-owned LevelX control block.
Definition at line 107 of file cache_store_demo.h.
Referenced by internal_demo_build_cfg().
| uint8_t* cache_store_demo_cfg_t::scratch |
Read-back scratch (>= largest blob).
Definition at line 111 of file cache_store_demo.h.
Referenced by internal_demo_get_and_verify(), and internal_demo_put_and_verify().
| uint32_t cache_store_demo_cfg_t::scratch_bytes |
Bytes at scratch.
Definition at line 113 of file cache_store_demo.h.
Referenced by internal_demo_put_and_verify().
| uint8_t* cache_store_demo_cfg_t::staging |
Caller-owned >=1-sector scratch.
Definition at line 110 of file cache_store_demo.h.
Referenced by internal_demo_build_cfg(), and internal_demo_phase_remount().
| uint32_t cache_store_demo_cfg_t::staging_bytes |
Bytes at staging (>= sector).
Definition at line 112 of file cache_store_demo.h.
Referenced by internal_demo_build_cfg(), and internal_demo_phase_remount().