Fix flushing the cache are doing the relocations

This commit is contained in:
Maschell 2020-05-29 18:26:19 +02:00
parent 6cb4f4e358
commit 28926f6a9b

View File

@ -89,10 +89,8 @@ bool ResolveRelocations() {
memset((void *) curModule.getSBSSAddr(), 0, curModule.getSBSSSize());
}
}
if (count > 0) {
DCFlushRange((void *) 0x00800000, 0x00800000);
ICInvalidateRange((void *) 0x00800000, 0x00800000);
}
DCFlushRange((void *) 0x00800000, 0x00800000);
ICInvalidateRange((void *) 0x00800000, 0x00800000);
return wasSuccessful;
}