mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-09 06:03:32 +01:00
arm64: add comment about data cache flushing
This commit is contained in:
parent
fff8221b63
commit
976da3707a
@ -346,6 +346,8 @@ void ARM64XEmitter::FlushIcacheSection(u8* start, u8* end)
|
||||
|
||||
addr = (u64)start & ~(u64)(dsize - 1);
|
||||
for (; addr < (u64)end; addr += dsize)
|
||||
// use "civac" instead of "cvau", as this is the suggested workaround for
|
||||
// Cortex-A53 errata 819472, 826319, 827319 and 824069.
|
||||
__asm__ volatile("dc civac, %0" : : "r"(addr) : "memory");
|
||||
__asm__ volatile("dsb ish" : : : "memory");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user