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

Page-cache state (caller-owned; treat as private). More...

#include <ra8_vmem.h>

Collaboration diagram for ra8_vmem_t:

Data Fields

ra8_vmem_cfg_t cfg
 The configuration (copied at init).
ra8_keycache_t kc
 The underlying SLRU cache engine.
uint32_t protected_cap
 Resolved SLRU protected-segment capacity.

Detailed Description

Page-cache state (caller-owned; treat as private).

A thin wrapper around the ::ra8_keycache engine plus the copied config and the resolved SLRU protected capacity.

Invariant
protected_cap <= frame_count.
Every valid frame is reachable from exactly one hash bucket.
Since
0.1.0

Definition at line 179 of file ra8_vmem.h.

Field Documentation

◆ cfg

ra8_vmem_cfg_t ra8_vmem_t::cfg

The configuration (copied at init).

Definition at line 180 of file ra8_vmem.h.

Referenced by internal_drive(), internal_vmem_fill(), ra8_vmem_get(), ra8_vmem_init(), ra8_vmem_stats(), and ra8_vmem_stream_init().

◆ kc

ra8_keycache_t ra8_vmem_t::kc

The underlying SLRU cache engine.

Definition at line 181 of file ra8_vmem.h.

Referenced by ra8_vmem_get(), ra8_vmem_init(), ra8_vmem_put(), and ra8_vmem_stats().

◆ protected_cap

uint32_t ra8_vmem_t::protected_cap

Resolved SLRU protected-segment capacity.

Definition at line 182 of file ra8_vmem.h.

Referenced by ra8_vmem_init().


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