1
0
Fork 0
forked from suyu/suyu

arm_nce: skip dc cvac on possibly write-protected areas

This commit is contained in:
Liam 2023-11-19 13:57:23 -05:00 committed by t895
parent 6de2edcca1
commit 263b7a44f9

View file

@ -377,9 +377,7 @@ void ARM_NCE::ClearInstructionCache() {
}
void ARM_NCE::InvalidateCacheRange(u64 addr, std::size_t size) {
// Clean cache.
auto* ptr = reinterpret_cast<char*>(addr);
__builtin___clear_cache(ptr, ptr + size);
this->ClearInstructionCache();
}
void ARM_NCE::ClearExclusiveState() {