Only flush write MMU cache on WP flag toggle as read and execute MMU cache is not affected by the flag.

This commit is contained in:
OBattler
2025-03-23 15:36:05 +01:00
parent c5efce619f
commit 609f34cc49
4 changed files with 28 additions and 8 deletions

View File

@@ -448,6 +448,7 @@ extern void mem_flush_write_page(uint32_t addr, uint32_t virt);
extern void mem_reset_page_blocks(void);
extern void flushmmucache(void);
extern void flushmmucache_write(void);
extern void flushmmucache_pc(void);
extern void flushmmucache_nopc(void);