|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
A pinned view of a cached cell returned by ra8_keycache_get. More...
#include <ra8_keycache.h>
Data Fields | |
| uint8_t * | data |
| Cell payload (cell_bytes wide). | |
| void * | user |
| Per-cell user descriptor, or NULL. | |
A pinned view of a cached cell returned by ra8_keycache_get.
data points into the cell storage and stays valid until the matching ra8_keycache_put. user points at this cell's user descriptor (or is NULL when user_bytes == 0) and has the same lifetime as data: both are tied to the cell's pin, so once it is unpinned the cell may be evicted and the descriptor storage reused. Copy out any descriptor fields before ra8_keycache_put.
Definition at line 243 of file ra8_keycache.h.
| uint8_t* ra8_keycache_view_t::data |
Cell payload (cell_bytes wide).
Definition at line 244 of file ra8_keycache.h.
Referenced by ra8_glyph_atlas_get(), ra8_keycache_prefetch(), and ra8_tile_cache_get().
| void* ra8_keycache_view_t::user |
Per-cell user descriptor, or NULL.
Definition at line 245 of file ra8_keycache.h.
Referenced by ra8_glyph_atlas_get(), and ra8_tile_cache_get().