Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 8 lines (8 sloc) 0.243 kb
1 2 3 4 5 6 7 8
void CleanAndInvalidateCPUDataCache(void *buffer, int bufferLen) {
    char *p = buffer;
    while(bufferLen > 0) {
        asm("mcr p15, 0, %0, c7, c10, 1" :: "r"(p));
        p += 0x10; // should be higher
        bufferLen -= 0x10;
    }
}
Something went wrong with that request. Please try again.