13 lines
360 B
C
13 lines
360 B
C
#include "memory.h"
|
|
|
|
void main(void)
|
|
{
|
|
void *payloadAddress = (void *)0x23F00000;
|
|
|
|
memcpy(payloadAddress, (void*)0x24F00000, *(u32 *)0x24FFFF04);
|
|
|
|
((void (*)(void))0xFFFF0830)(); //Clean and flush the entire DCache, then drain the write buffer
|
|
((void (*)(void))0xFFFF0AB4)(); //Flush the entire ICache
|
|
|
|
((void (*)())payloadAddress)();
|
|
} |