|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
The (object_id, frame-aligned offset) key the page cache hashes on. More...
#include <ra8_vmem.h>
Data Fields | |
| uint32_t | object_id |
| Cached object id. | |
| uint64_t | offset |
| Frame-aligned byte offset of the cached page. | |
The (object_id, frame-aligned offset) key the page cache hashes on.
Treat as private; the cache owns the contents. Provide an array of frame_count of these as the engine's key storage (parallel to the ra8_vmem_frame_t metadata). ra8_vmem always zero-fills a key before use, so the struct's padding never carries indeterminate bytes into the byte-wise key comparison.
Definition at line 136 of file ra8_vmem.h.
| uint32_t ra8_vmem_key_t::object_id |
Cached object id.
Definition at line 137 of file ra8_vmem.h.
Referenced by internal_vmem_fill(), internal_vmem_hash(), and ra8_vmem_get().
| uint64_t ra8_vmem_key_t::offset |
Frame-aligned byte offset of the cached page.
Definition at line 138 of file ra8_vmem.h.
Referenced by internal_vmem_fill(), internal_vmem_hash(), and ra8_vmem_get().