Expand description
CPU cache maintenance.
Structs§
- Cache
Range - A checked virtual byte range. Construction validates arithmetic, not mapping.
- Cache
Range Overflow - The requested cache byte range wraps the CPU address space.
Functions§
- clean_
dcache_ ⚠range_ to_ pou - Completes data-side preparation for subsequent local instruction synchronization.
This architecture needs no separate data-cache clean for coherent CPU stores;
callers must still perform
flush_icache_allbefore executing modified text. - flush_
icache_ all - Serializes this CPU’s instruction stream after coherent text publication. Other executing CPUs require their own synchronized invocation.
- sync_
kernel_ text - Completes local translation and instruction synchronization for modified text.
The owner must first publish the modified bytes using
clean_dcache_range_to_pou, and coordinate any other CPUs executing this text.