Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

flush_instruction_cache

Function flush_instruction_cache 

Source
pub fn flush_instruction_cache()
Expand description

Invalidate every line of the instruction cache.

Call it after writing instructions to RAM (an exception vector, patched or loaded code) so the CPU fetches the new words. Interrupts are off for the whole time the cache is being changed.