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

Handle to an open entry that streams through ra8_cache_store_read. More...

#include <ra8_cache_store.h>

Collaboration diagram for ra8_cache_store_reader_t:

Data Fields

const ra8_cache_store_tstore
 Parent store (flash + staging).
uint32_t data_start
 First payload logical sector.
uint32_t data_sectors
 Payload sector count.
uint32_t byte_len
 Payload length (== vsource size).

Detailed Description

Handle to an open entry that streams through ra8_cache_store_read.

Filled by ra8_cache_store_get. Pass its address as the ctx to ra8_vsource_add_paged together with ra8_cache_store_read and size == byte_len. Must out-live the vsource object that references it. Treat fields as private.

Invariant
data_start >= store->log_start + 1 for a valid reader.
Since
0.1.0

Definition at line 183 of file ra8_cache_store.h.

Field Documentation

◆ byte_len

uint32_t ra8_cache_store_reader_t::byte_len

Payload length (== vsource size).

Definition at line 187 of file ra8_cache_store.h.

Referenced by internal_demo_get_and_verify(), internal_demo_put_and_verify(), and ra8_cache_store_read().

◆ data_sectors

uint32_t ra8_cache_store_reader_t::data_sectors

Payload sector count.

Definition at line 186 of file ra8_cache_store.h.

Referenced by ra8_cache_store_read().

◆ data_start

uint32_t ra8_cache_store_reader_t::data_start

First payload logical sector.

Definition at line 185 of file ra8_cache_store.h.

Referenced by ra8_cache_store_read().

◆ store

const ra8_cache_store_t* ra8_cache_store_reader_t::store

Parent store (flash + staging).

Definition at line 184 of file ra8_cache_store.h.

Referenced by ra8_cache_store_read().


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